[gnome-builder] clang: SingleFileParse was 0,43
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] clang: SingleFileParse was 0,43
- Date: Thu, 18 Jan 2018 15:03:49 +0000 (UTC)
commit 395e18f617772d3930bcf50488d317816db2b83d
Author: Christian Hergert <chergert redhat com>
Date: Thu Jan 18 07:03:28 2018 -0800
clang: SingleFileParse was 0,43
src/plugins/clang/ide-clang-code-indexer.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/clang/ide-clang-code-indexer.c b/src/plugins/clang/ide-clang-code-indexer.c
index 10a403cfa..f2bce689d 100644
--- a/src/plugins/clang/ide-clang-code-indexer.c
+++ b/src/plugins/clang/ide-clang-code-indexer.c
@@ -68,8 +68,10 @@ ide_clang_code_indexer_index_file_worker (GTask *task,
NULL,
0,
(CXTranslationUnit_DetailedPreprocessingRecord |
-#if CINDEX_VERSION >= CINDEX_VERSION_ENCODE(0, 35)
+#if CINDEX_VERSION >= CINDEX_VERSION_ENCODE(0, 43)
CXTranslationUnit_SingleFileParse |
+#endif
+#if CINDEX_VERSION >= CINDEX_VERSION_ENCODE(0, 35)
CXTranslationUnit_KeepGoing |
#endif
CXTranslationUnit_SkipFunctionBodies),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]