diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2017-09-19 15:38:20 +0200 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2017-10-24 10:46:52 +0000 |
commit | 050b4dd2f5b2545e3afcd5b7f2c7293be8ddb74c (patch) | |
tree | 7699d5fd6a4ae1603548e04f4f62e258d3405cbd /src/plugins/cpptools/cppeditorwidgetinterface.h | |
parent | 263cdc03977a89eeb61d8dddd99efb7bf1e752fa (diff) | |
download | qt-creator-050b4dd2f5b2545e3afcd5b7f2c7293be8ddb74c.tar.gz |
Clang: implement findUsages with existing index
Functionality is limited to the abilities of
current index which is not updated and is
generated only at project open.
Search box temporarily doesn't allow to "Search again".
Change-Id: Id1047f27ad0aafc901f06aa51ad38ceab95eaebb
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppeditorwidgetinterface.h')
-rw-r--r-- | src/plugins/cpptools/cppeditorwidgetinterface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppeditorwidgetinterface.h b/src/plugins/cpptools/cppeditorwidgetinterface.h index 309fa581cd..ed8c7e0a46 100644 --- a/src/plugins/cpptools/cppeditorwidgetinterface.h +++ b/src/plugins/cpptools/cppeditorwidgetinterface.h @@ -35,6 +35,8 @@ namespace TextEditor { class IAssistProvider; } namespace CppTools { +class SemanticInfo; + class CPPTOOLS_EXPORT CppEditorWidgetInterface { public: @@ -44,6 +46,7 @@ public: } virtual void showPreProcessorWidget() = 0; + virtual SemanticInfo semanticInfo() const = 0; virtual void updateSemanticInfo() = 0; virtual void renameUsagesInternal(const QString &replacement) = 0; |