Remove ClangRefactoring and ClangPchManager

This removes the plugins and tools, and removes all the tests that would
fail to build because of that.

Fixes: QTCREATORBUG-25659
Change-Id: I8adb5d503fc8eea313bcaada421f309dbbfa8c26
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Eike Ziller
2021-06-14 11:47:51 +02:00
parent 9e5ba5d679
commit baa83725f6
515 changed files with 31 additions and 51951 deletions

View File

@@ -28,6 +28,7 @@
#include "clangdclient.h"
#include "clangmodelmanagersupport.h"
#include "sourcelocationscontainer.h"
#include <cpptools/cppmodelmanager.h>
#include <languageclient/languageclientsymbolsupport.h>
@@ -74,10 +75,9 @@ void RefactoringEngine::startLocalRenaming(const CppTools::CursorInEditor &data,
const QString symbolName = cursor.selectedText();
ClangBackEnd::SourceLocationsContainer container;
for (auto& use : info.useRanges) {
container.insertSourceLocation(ClangBackEnd::FilePathId(),
container.insertSourceLocation({},
use.line,
use.column,
use.length);
use.column);
}
renameSymbolsCallback(symbolName, container, data.cursor().document()->revision());
});