forked from qt-creator/qt-creator
Clang: Make translation unit and code completion options consistent
...otherwise we might run into the following assertion:
Assertion failed: (IncludeBriefComments ==
this->IncludeBriefCommentsInCodeCompletion), function CodeComplete, file
ASTUnit.cpp, line 2411.
Change-Id: I4723b600c7ac5aa2b4c1cb1827f51156afb492b8
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
@@ -139,6 +139,8 @@ public:
|
||||
|
||||
SkippedSourceRanges skippedSourceRanges() const;
|
||||
|
||||
static uint defaultOptions();
|
||||
|
||||
private:
|
||||
void setDirty();
|
||||
void checkIfNull() const;
|
||||
@@ -152,7 +154,6 @@ private:
|
||||
void reparseTranslationUnit() const;
|
||||
void reparseTranslationUnitIfFilesAreChanged() const;
|
||||
void updateIncludeFilePaths() const;
|
||||
static uint defaultOptions();
|
||||
static void includeCallback(CXFile included_file,
|
||||
CXSourceLocation * /*inclusion_stack*/,
|
||||
unsigned /*include_len*/,
|
||||
|
||||
Reference in New Issue
Block a user