summaryrefslogtreecommitdiff
path: root/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2018-03-22 13:05:59 +0100
committerIvan Donchevskii <ivan.donchevskii@qt.io>2018-03-23 14:15:45 +0000
commit99bd0ed2a47f093cff1b2afc07e3d42a5e10c5a2 (patch)
tree3f6ae5bc7e7a3685119b9af37cb3386f1d471451 /src/plugins/clangcodemodel/clangeditordocumentprocessor.h
parentd66e8b6ea05873c2df453b96d755eae7e9746076 (diff)
downloadqt-creator-99bd0ed2a47f093cff1b2afc07e3d42a5e10c5a2.tar.gz
Clang: Rebuild overview model tree when token data is updated
In release builds overview model tree is built earlier then the job with token information is completed. Change-Id: I1a563551e813996001fb97924ac441e2b7d599b9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/clangcodemodel/clangeditordocumentprocessor.h')
-rw-r--r--src/plugins/clangcodemodel/clangeditordocumentprocessor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.h b/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
index dafe4067ae..cd28c310cf 100644
--- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
+++ b/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
@@ -106,6 +106,9 @@ public:
public:
static ClangEditorDocumentProcessor *get(const QString &filePath);
+signals:
+ void tokenInfosUpdated();
+
private:
void onParserFinished();
void updateProjectPartAndTranslationUnitForEditor();