forked from qt-creator/qt-creator
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:
@@ -1,6 +1,6 @@
|
||||
add_qtc_plugin(CppTools
|
||||
DEPENDS Qt5::Network Qt5::Xml
|
||||
PUBLIC_DEPENDS CPlusPlus Qt5::Widgets
|
||||
PUBLIC_DEPENDS CPlusPlus ClangSupport Qt5::Widgets
|
||||
PLUGIN_DEPENDS Core ProjectExplorer TextEditor
|
||||
PLUGIN_TEST_DEPENDS CppEditor QmakeProjectManager
|
||||
SOURCES
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "cpptoolsreuse.h"
|
||||
#include "cppfollowsymbolundercursor.h"
|
||||
|
||||
#include <clangsupport/sourcelocationscontainer.h>
|
||||
#include <texteditor/texteditor.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
@@ -8,6 +8,7 @@ Project {
|
||||
Depends { name: "Qt.widgets" }
|
||||
Depends { name: "Qt.testlib"; condition: project.withAutotests }
|
||||
Depends { name: "CPlusPlus" }
|
||||
Depends { name: "ClangSupport" }
|
||||
Depends { name: "Utils" }
|
||||
|
||||
Depends { name: "Core" }
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
QTC_PLUGIN_NAME = CppTools
|
||||
QTC_LIB_DEPENDS += \
|
||||
cplusplus \
|
||||
clangsupport \
|
||||
extensionsystem \
|
||||
utils
|
||||
QTC_PLUGIN_DEPENDS += \
|
||||
|
||||
@@ -32,15 +32,16 @@
|
||||
#include <utils/link.h>
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
#include <clangsupport/sourcelocationscontainer.h>
|
||||
#include <clangsupport/refactoringclientinterface.h>
|
||||
|
||||
#include <cplusplus/CppDocument.h>
|
||||
|
||||
namespace TextEditor {
|
||||
class TextEditorWidget;
|
||||
} // namespace TextEditor
|
||||
|
||||
namespace ClangBackEnd {
|
||||
class SourceLocationsContainer;
|
||||
}
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
class ProjectPart;
|
||||
@@ -56,7 +57,9 @@ enum class CallType
|
||||
class CPPTOOLS_EXPORT RefactoringEngineInterface
|
||||
{
|
||||
public:
|
||||
using RenameCallback = ClangBackEnd::RefactoringClientInterface::RenameCallback;
|
||||
using RenameCallback = std::function<void(const QString &,
|
||||
const ClangBackEnd::SourceLocationsContainer &,
|
||||
int)>;
|
||||
using Link = Utils::Link;
|
||||
|
||||
virtual ~RefactoringEngineInterface() = default;
|
||||
|
||||
Reference in New Issue
Block a user