diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-10-27 18:19:11 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-10-27 18:19:11 +0000 |
commit | 99af5f07de88d6757dedc7ee6a8197fab0fe8c0f (patch) | |
tree | ca6a9414b877de2816023fa16fd5188451eb4575 /include/clang/module.modulemap | |
parent | 1c09b76713c0a3521937e035b3ab4edef687e7ee (diff) |
[refactor] Describe refactorings in the operation classes
This commit changes the way that the refactoring operation classes are
structured:
- Users have to call `initiate` instead of constructing an instance of the
class. The `initiate` is now supposed to have custom initiation logic, and
you don't need to subclass the builtin requirements.
- A new `describe` function returns a structure with the id, title and the
description of the refactoring operation.
The refactoring action classes are now placed into one common place in
RefactoringActions.cpp instead of being separate.
Differential Revision: https://reviews.llvm.org/D38985
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/module.modulemap')
-rw-r--r-- | include/clang/module.modulemap | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/clang/module.modulemap b/include/clang/module.modulemap index 1e3262188f..41cf73d910 100644 --- a/include/clang/module.modulemap +++ b/include/clang/module.modulemap @@ -146,8 +146,6 @@ module Clang_Tooling { // importing the AST matchers library gives a link dependency on the AST // matchers (and thus the AST), which clang-format should not have. exclude header "Tooling/RefactoringCallbacks.h" - - textual header "Tooling/Refactoring/RefactoringActionRegistry.def" } module Clang_ToolingCore { |