forked from qt-creator/qt-creator
CppEditor: Move RemoveUsingNamespace quickfix to its own files
Change-Id: Iba66511d273bdf6e7fcf913411a38e89f3b8822a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -540,19 +540,6 @@ public:
|
||||
void doMatch(const CppQuickFixInterface &interface, TextEditor::QuickFixOperations &result) override;
|
||||
};
|
||||
|
||||
/*!
|
||||
Removes a using directive (using namespace xyz).
|
||||
|
||||
*/
|
||||
class RemoveUsingNamespace : public CppQuickFixFactory
|
||||
{
|
||||
public:
|
||||
RemoveUsingNamespace() { setClangdReplacement({10}); }
|
||||
|
||||
private:
|
||||
void doMatch(const CppQuickFixInterface &interface, TextEditor::QuickFixOperations &result) override;
|
||||
};
|
||||
|
||||
//! Converts C-style to C++-style comments and vice versa
|
||||
class ConvertCommentStyle : public CppQuickFixFactory
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user