ClangCodeModel: Remove libclang-based locator filter

Change-Id: I1c588a7bfdee773662d1956e9a998040794b8c9d
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2022-04-27 17:59:26 +02:00
parent 2e725b4869
commit c21774f0a7
9 changed files with 24 additions and 256 deletions

View File

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