diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2021-09-02 12:15:59 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2021-09-06 09:49:36 +0000 |
commit | 548e19370e492a1fbaaa5533d819c837f81c3e99 (patch) | |
tree | 69eb704f2d9047907590a545bcb508897de5e66c /src/plugins/cppeditor/cppsourceprocessor_test.cpp | |
parent | 7761a5afbc0a2d88c0094adba24a277dc6da0823 (diff) | |
download | qt-creator-548e19370e492a1fbaaa5533d819c837f81c3e99.tar.gz |
CppEditor: Remove CppToolsBridge & friends
This redirection did nothing except to horribly obfuscate the code.
Note that most callers already accessed the model manager directly, and
some bridge functions were not called at all.
Change-Id: Ic1c728afe79bf98544da23a1955ee82d0dbde94f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppsourceprocessor_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppsourceprocessor_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppsourceprocessor_test.cpp b/src/plugins/cppeditor/cppsourceprocessor_test.cpp index c8d35cca09..89ae5e7aaa 100644 --- a/src/plugins/cppeditor/cppsourceprocessor_test.cpp +++ b/src/plugins/cppeditor/cppsourceprocessor_test.cpp @@ -29,7 +29,6 @@ #include "cppmodelmanager.h" #include "cppsourceprocessertesthelper.h" #include "cppsourceprocessor.h" -#include "cpptoolsbridge.h" #include "cpptoolstestcase.h" #include "editordocumenthandle.h" @@ -132,7 +131,7 @@ void SourceProcessorTest::testIncludesCyclic() // Check editor snapshot const QString filePath = editor->document()->filePath().toString(); - auto *processor = CppToolsBridge::baseEditorDocumentProcessor(filePath); + auto *processor = CppModelManager::cppEditorDocumentProcessor(filePath); QVERIFY(processor); QVERIFY(TestCase::waitForProcessedEditorDocument(filePath)); Snapshot snapshot = processor->snapshot(); |