Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Günther Wagner
gnome-builder
Commits
abfa5a38
Commit
abfa5a38
authored
Jan 18, 2018
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/clang/ide-clang-code-indexer.c
View file @
abfa5a38
...
@@ -67,9 +67,11 @@ ide_clang_code_indexer_index_file_worker (GTask *task,
...
@@ -67,9 +67,11 @@ ide_clang_code_indexer_index_file_worker (GTask *task,
g_strv_length
(
br
->
build_flags
),
g_strv_length
(
br
->
build_flags
),
NULL
,
NULL
,
0
,
0
,
(
CXTranslationUnit_SingleFileParse
|
(
CXTranslationUnit_DetailedPreprocessingRecord
|
#if CINDEX_VERSION >= CINDEX_VERSION_ENCODE(0, 35)
CXTranslationUnit_SingleFileParse
|
CXTranslationUnit_KeepGoing
|
CXTranslationUnit_KeepGoing
|
CXTranslationUnit_DetailedPreprocessingRecord
|
#endif
CXTranslationUnit_SkipFunctionBodies
),
CXTranslationUnit_SkipFunctionBodies
),
&
unit
);
&
unit
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment