summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-10-14 15:28:39 +0200
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-10-14 16:28:32 +0000
commita065f45664078efa082cfbeb4140770e6d5dd351 (patch)
treeea79ed10921e868c27283ca73d58a535552976c3
parenta027cbcd7051c634a51b6029dcb8a5b4bfe8b046 (diff)
downloadqt-creator-a065f45664078efa082cfbeb4140770e6d5dd351.tar.gz
Clang: Process diagnostics as soon as possible
...on editor open. Change-Id: I02eb7092facedef9be5bf7b523ad840ebf1ecca9 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
-rw-r--r--src/tools/clangbackend/ipcsource/clangipcserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clangbackend/ipcsource/clangipcserver.cpp b/src/tools/clangbackend/ipcsource/clangipcserver.cpp
index 8aaf7588f5..f6d10d2f9c 100644
--- a/src/tools/clangbackend/ipcsource/clangipcserver.cpp
+++ b/src/tools/clangbackend/ipcsource/clangipcserver.cpp
@@ -106,7 +106,7 @@ void ClangIpcServer::registerTranslationUnitsForEditor(const ClangBackEnd::Regis
try {
translationUnits.create(message.fileContainers());
unsavedFiles.createOrUpdate(message.fileContainers());
- sendDiagnosticsTimer.start(sendDiagnosticsTimerInterval);
+ sendDiagnosticsTimer.start(0);
} catch (const ProjectPartDoNotExistException &exception) {
client()->projectPartsDoNotExist(ProjectPartsDoNotExistMessage(exception.projectPartIds()));
} catch (const std::exception &exception) {