Commit abfa5a38 authored by Christian Hergert's avatar Christian Hergert
Browse files

clang: hide some flags behind 0.35 check

Not sure the exact version for these, but lets start with this.
parent bded6fb8
......@@ -67,9 +67,11 @@ ide_clang_code_indexer_index_file_worker (GTask *task,
g_strv_length (br->build_flags),
NULL,
0,
(CXTranslationUnit_SingleFileParse |
(CXTranslationUnit_DetailedPreprocessingRecord |
#if CINDEX_VERSION >= CINDEX_VERSION_ENCODE(0, 35)
CXTranslationUnit_SingleFileParse |
CXTranslationUnit_KeepGoing |
CXTranslationUnit_DetailedPreprocessingRecord |
#endif
CXTranslationUnit_SkipFunctionBodies),
&unit);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment