Clang: Avoid double reparsing

The document is now always reparsed after a change.

Change-Id: Iad1d9f78d98f75d5e873de35ac487a8dabc4fc4e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2015-08-26 13:03:07 +02:00
parent 1a5e7b778d
commit d4976e1109

View File

@@ -257,9 +257,6 @@ void TranslationUnit::createTranslationUnitIfNeeded() const
updateIncludeFilePaths();
// We need to reparse to create the precompiled preamble, which will speed up further calls,
// e.g. clang_codeCompleteAt() dramatically.
reparseTranslationUnit();
updateLastProjectPartChangeTimePoint();
}