Commit d4976e11 authored by Marco Bubke's avatar Marco Bubke

Clang: Avoid double reparsing

The document is now always reparsed after a change.

Change-Id: Iad1d9f78d98f75d5e873de35ac487a8dabc4fc4e
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 1a5e7b77
......@@ -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();
}
......
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