aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2017-05-24 13:23:01 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2017-06-14 12:24:59 +0000
commitfdf0a104ec7c3f344954e2ce8df1cb4f4dfc8705 (patch)
tree337b3a336a9f1fab3ba194ddcf07f1132a08a778 /src/plugins/clangcodemodel/clangeditordocumentprocessor.h
parentcd6bd3c4d870dd9fdbd214bd4f030136448ff9ca (diff)
CppEditor: Generalize CppUseSelectionsUpdater
Let CppUseSelectionsUpdater delegate the work to *EditorDocumentProcessor so that the clang code model can also provide results. Change-Id: I6872afbfeea1a5c4a64fdf19fcb1992f134dde08 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/plugins/clangcodemodel/clangeditordocumentprocessor.h')
-rw-r--r--src/plugins/clangcodemodel/clangeditordocumentprocessor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.h b/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
index ee67c1b7f5..4760e8bb36 100644
--- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
+++ b/src/plugins/clangcodemodel/clangeditordocumentprocessor.h
@@ -84,6 +84,8 @@ public:
void setParserConfig(const CppTools::BaseEditorDocumentParser::Configuration config) override;
+ QFuture<CppTools::CursorInfo> cursorInfo(const CppTools::CursorInfoParams &params) override;
+
ClangBackEnd::FileContainer fileContainerWithArguments() const;
void clearDiagnosticsWithFixIts();