CppEditor: Implement remove using namespace Quickfix

Fixes: QTCREATORBUG-24392
Change-Id: Iaf4df4ebf161a4a757f59f22e692e0f9b99cd63c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Leander Schulten
2020-08-06 16:14:47 +02:00
parent 0222d5007e
commit 32ee29cb9e
4 changed files with 669 additions and 0 deletions

View File

@@ -575,5 +575,15 @@ public:
void match(const CppQuickFixInterface &interface, TextEditor::QuickFixOperations &result) override;
};
/*!
Removes a using directive (using namespace xyz).
*/
class RemoveUsingNamespace : public CppQuickFixFactory
{
public:
void match(const CppQuickFixInterface &interface, TextEditor::QuickFixOperations &result) override;
};
} // namespace Internal
} // namespace CppEditor