Clang: Send the diagnostics delayed

Change-Id: I6065e51d38c262cf59d977c11c6453dec85a6dfe
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2015-08-26 16:33:32 +02:00
parent aa300e363f
commit 0267f2861d
6 changed files with 68 additions and 13 deletions

View File

@@ -97,12 +97,13 @@ public:
const time_point &lastProjectPartChangeTimePoint() const;
bool isNeedingReparse() const;
bool hasNewDiagnostics() const;
DiagnosticSet diagnostics() const;
const QSet<Utf8String> &dependedFilePaths() const;
void updateIsNeedingReparseIfDependencyIsMet(const Utf8String &filePath);
void setDirtyIfDependencyIsMet(const Utf8String &filePath);
private:
void checkIfNull() const;