forked from qt-creator/qt-creator
Clang: Process diagnostics as soon as possible
...on editor open. Change-Id: I02eb7092facedef9be5bf7b523ad840ebf1ecca9 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -106,7 +106,7 @@ void ClangIpcServer::registerTranslationUnitsForEditor(const ClangBackEnd::Regis
|
|||||||
try {
|
try {
|
||||||
translationUnits.create(message.fileContainers());
|
translationUnits.create(message.fileContainers());
|
||||||
unsavedFiles.createOrUpdate(message.fileContainers());
|
unsavedFiles.createOrUpdate(message.fileContainers());
|
||||||
sendDiagnosticsTimer.start(sendDiagnosticsTimerInterval);
|
sendDiagnosticsTimer.start(0);
|
||||||
} catch (const ProjectPartDoNotExistException &exception) {
|
} catch (const ProjectPartDoNotExistException &exception) {
|
||||||
client()->projectPartsDoNotExist(ProjectPartsDoNotExistMessage(exception.projectPartIds()));
|
client()->projectPartsDoNotExist(ProjectPartsDoNotExistMessage(exception.projectPartIds()));
|
||||||
} catch (const std::exception &exception) {
|
} catch (const std::exception &exception) {
|
||||||
|
Reference in New Issue
Block a user