summaryrefslogtreecommitdiffstats
path: root/include/clang/Tooling/Refactoring/RefactoringActionRule.h
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-10-06 19:49:29 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-10-06 19:49:29 +0000
commitf1381a926e22e996f38e74fd74bc9a25dfbac8f9 (patch)
treeacd95877576f97c73eaef03725167dccec4444f2 /include/clang/Tooling/Refactoring/RefactoringActionRule.h
parentcc5ee4901e888a08cdea30b25e8df416f3f12be3 (diff)
Revert r315087
clang-refactor crashes on some bots after this commit git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315095 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Tooling/Refactoring/RefactoringActionRule.h')
-rw-r--r--include/clang/Tooling/Refactoring/RefactoringActionRule.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/clang/Tooling/Refactoring/RefactoringActionRule.h b/include/clang/Tooling/Refactoring/RefactoringActionRule.h
index 294ccc381b..c72b37c91d 100644
--- a/include/clang/Tooling/Refactoring/RefactoringActionRule.h
+++ b/include/clang/Tooling/Refactoring/RefactoringActionRule.h
@@ -16,7 +16,6 @@
namespace clang {
namespace tooling {
-class RefactoringOptionVisitor;
class RefactoringResultConsumer;
class RefactoringRuleContext;
@@ -44,14 +43,6 @@ public:
/// Returns true when the rule has a source selection requirement that has
/// to be fullfilled before refactoring can be performed.
virtual bool hasSelectionRequirement() = 0;
-
- /// Traverses each refactoring option used by the rule and invokes the
- /// \c visit callback in the consumer for each option.
- ///
- /// Options are visited in the order of use, e.g. if a rule has two
- /// requirements that use options, the options from the first requirement
- /// are visited before the options in the second requirement.
- virtual void visitRefactoringOptions(RefactoringOptionVisitor &Visitor) = 0;
};
} // end namespace tooling