forked from qt-creator/qt-creator
Clang: Request new diagnostics after reload
Diagnostics should be not computed after a file change but after creator is requesting them. Now we wait for the dialog if the file should be reloaded. Change-Id: Id0d51874b95e0f8743002a91511d07e0ed47ecdc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -138,6 +138,7 @@ public:
|
||||
void updateTranslationUnit(const QString &filePath, const QByteArray &contents, uint documentRevision);
|
||||
void updateUnsavedFile(const QString &filePath, const QByteArray &contents, uint documentRevision);
|
||||
void requestDiagnostics(const ClangBackEnd::FileContainer &fileContainer);
|
||||
void requestDiagnostics(Core::IDocument *document);
|
||||
void updateChangeContentStartPosition(const QString &filePath, int position);
|
||||
|
||||
public: // for tests
|
||||
|
||||
Reference in New Issue
Block a user