Clang: Don't parse system headers

Change-Id: I6474fbe4f43daaac930ad6ba49fd9cb3145a3bbd
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2018-08-14 11:46:16 +02:00
parent 4195fce68f
commit b592339b4d
4 changed files with 16 additions and 9 deletions

View File

@@ -74,8 +74,8 @@ private:
{
clang::index::IndexingOptions options;
options.SystemSymbolFilter = clang::index::IndexingOptions::SystemSymbolFilterKind::All;
options.IndexFunctionLocals = true;
options.SystemSymbolFilter = clang::index::IndexingOptions::SystemSymbolFilterKind::None;
options.IndexFunctionLocals = false;
return options;
}