CppEditor: Switch off "remove using namespace" quickfix with clangd

There is an equivalent tweak in clangd.

Change-Id: I895750f1e942f82da94f441b56b8a7d660ba7086
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2022-05-31 12:17:54 +02:00
parent 09efabaf89
commit 6e358cbdd4

View File

@@ -8171,6 +8171,9 @@ private:
void RemoveUsingNamespace::match(const CppQuickFixInterface &interface, QuickFixOperations &result)
{
if (CppModelManager::usesClangd(interface.currentFile()->editor()->textDocument()))
return;
const QList<AST *> &path = interface.path();
// We expect something like
// [0] TranslationUnitAST