Commit 28180a41 authored by Erik Verbruggen's avatar Erik Verbruggen

Clang: do not pass the CXTranslationUnit_Incomplete option for parsing.

This flag is meant to be used when generating pre-compiled headers.

Change-Id: I4758f36c5774e7da8c3b6cc401ea4245761d2278
Reviewed-by: default avatarNikolai Kosjar <>
parent 35e093ff
......@@ -66,7 +66,6 @@ void SemanticMarker::setFileName(const QString &fileName)
unsigned clangOpts = clang_defaultEditingTranslationUnitOptions();
clangOpts |= CXTranslationUnit_Incomplete;
clangOpts |= CXTranslationUnit_DetailedPreprocessingRecord;
clangOpts &= ~CXTranslationUnit_CacheCompletionResults;
Markdown is supported
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