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>
This commit is contained in:
Nikolai Kosjar
2017-05-24 13:23:01 +02:00
parent cd6bd3c4d8
commit fdf0a104ec
14 changed files with 586 additions and 412 deletions

View File

@@ -6,6 +6,7 @@ HEADERS += \
abstracteditorsupport.h \
baseeditordocumentparser.h \
baseeditordocumentprocessor.h \
builtincursorinfo.h \
builtineditordocumentparser.h \
builtineditordocumentprocessor.h \
builtinindexingsupport.h \
@@ -26,6 +27,7 @@ HEADERS += \
cppcompletionassist.h \
cppcompletionassistprocessor.h \
cppcompletionassistprovider.h \
cppcursorinfo.h \
cppcurrentdocumentfilter.h \
cppeditoroutline.h \
cppdoxygen.h \
@@ -90,6 +92,7 @@ SOURCES += \
abstracteditorsupport.cpp \
baseeditordocumentparser.cpp \
baseeditordocumentprocessor.cpp \
builtincursorinfo.cpp \
builtineditordocumentparser.cpp \
builtineditordocumentprocessor.cpp \
builtinindexingsupport.cpp \