#include "clang/Tooling/Refactoring/Extract/Extract.h"
#include "clang/Tooling/Refactoring/RefactoringAction.h"
#include "clang/Tooling/Refactoring/RefactoringOptions.h"
#include "clang/Tooling/Refactoring/Rename/RenamingAction.h"
namespace clang {
namespace tooling {
namespace {
class DeclNameOption final : public OptionalRefactoringOption<std::string> { … };
class ExtractRefactoring final : public RefactoringAction { … };
class OldQualifiedNameOption : public RequiredRefactoringOption<std::string> { … };
class NewQualifiedNameOption : public RequiredRefactoringOption<std::string> { … };
class NewNameOption : public RequiredRefactoringOption<std::string> { … };
class LocalRename final : public RefactoringAction { … };
}
std::vector<std::unique_ptr<RefactoringAction>> createRefactoringActions() { … }
RefactoringActionRules RefactoringAction::createActiveActionRules() { … }
}
}