diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-10-14 15:28:39 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-10-14 16:28:32 +0000 |
commit | a065f45664078efa082cfbeb4140770e6d5dd351 (patch) | |
tree | ea79ed10921e868c27283ca73d58a535552976c3 /src | |
parent | a027cbcd7051c634a51b6029dcb8a5b4bfe8b046 (diff) | |
download | qt-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>
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/clangbackend/ipcsource/clangipcserver.cpp | 2 |
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) { |