ClangCodeModel: Remove the old matchesFor() implementation

Rename some filter classes to conform to the names for cpp filters.
Remove some unneeded intermediate classes now.

Change-Id: Ib4fa295fa60da61c42c792556751d954ddb936e7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Jarek Kobus
2023-04-25 00:17:52 +02:00
parent 74f6b96315
commit 7d87233c9c
5 changed files with 30 additions and 334 deletions

View File

@@ -2020,13 +2020,6 @@ void CppModelManager::switchDeclDef(const CursorInEditor &data,
instance()->modelManagerSupport(backend)->switchDeclDef(data, processLinkCallback);
}
ILocatorFilter *CppModelManager::createAuxiliaryCurrentDocumentFilter()
{
const auto filter = new Internal::CppCurrentDocumentFilter;
filter->makeAuxiliary();
return filter;
}
BaseEditorDocumentProcessor *CppModelManager::createEditorDocumentProcessor(
TextEditor::TextDocument *baseTextDocument) const
{