forked from qt-creator/qt-creator
Clang: Reparse editor document on project change
Change-Id: If7dcdc370fd50fded996df80ab6c893b4ec1ad55 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -193,6 +193,8 @@ void ClangIpcServer::registerProjectPartsForEditor(const RegisterProjectPartsFor
|
||||
|
||||
try {
|
||||
projects.createOrUpdate(message.projectContainers());
|
||||
translationUnits.setTranslationUnitsDirtyIfProjectPartChanged();
|
||||
sendDocumentAnnotationsTimer.start(0);
|
||||
} catch (const std::exception &exception) {
|
||||
qWarning() << "Error in ClangIpcServer::registerProjectPartsForEditor:" << exception.what();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user