aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpptools/editordocumenthandle.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-05-08 15:48:17 +0200
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-06-10 10:15:40 +0000
commit23b8a3b2e83e46e9ca8b1e7e314fad7030b23ff4 (patch)
treebf30a066c35c2df4385ff3cd08a9b683e216269b /src/plugins/cpptools/editordocumenthandle.h
parent264132da27ce9a11ca102ce7efaae13b9baaab6b (diff)
Clang: Use completion through backend process
This makes us independent of libclang crashes for completion. Re-parsing for highlighting still happens in the Qt Creator process. Run in verbose mode: qtc.clangcodemodel.ipc=true Run tests: -test "ClangCodeModel" Task-number: QTCREATORBUG-14108 Task-number: QTCREATORBUG-12819 Change-Id: Id3e95bd2afdb6508bbd1d35fddc69534a909b905 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/editordocumenthandle.h')
-rw-r--r--src/plugins/cpptools/editordocumenthandle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/cpptools/editordocumenthandle.h b/src/plugins/cpptools/editordocumenthandle.h
index 687449dd47..2801f8c4e2 100644
--- a/src/plugins/cpptools/editordocumenthandle.h
+++ b/src/plugins/cpptools/editordocumenthandle.h
@@ -51,7 +51,9 @@ public:
virtual unsigned revision() const = 0;
// For updating if new project info is set
- virtual BaseEditorDocumentProcessor *processor() = 0;
+ virtual BaseEditorDocumentProcessor *processor() const = 0;
+
+ virtual void resetProcessor() = 0;
private:
bool m_needsRefresh;