[PATCH] D38985: [refactor] Add support for editor commands that connect IDEs/editors to the refactoring actions

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 25 16:09:40 PDT 2017


arphaman updated this revision to Diff 120335.
arphaman added a comment.

- Refactoring operations like ExtractFunction should be declared in headers and should contain the initiation checks.
- Refactoring actions can now be all created in one "engine" file.
- A new descriptor interface describes a rule (name, description + optional editor title).


Repository:
  rL LLVM

https://reviews.llvm.org/D38985

Files:
  include/clang/Tooling/Refactoring/Extract/ExtractFunction.h
  include/clang/Tooling/Refactoring/RefactoringActionRegistry.def
  include/clang/Tooling/Refactoring/RefactoringActionRule.h
  include/clang/Tooling/Refactoring/RefactoringActionRules.h
  include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h
  include/clang/Tooling/Refactoring/Rename/RenamingAction.h
  include/clang/module.modulemap
  lib/Tooling/Refactoring/Extract.cpp
  lib/Tooling/Refactoring/RefactoringActions.cpp
  lib/Tooling/Refactoring/Rename/RenamingAction.cpp
  unittests/Tooling/RefactoringActionRulesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38985.120335.patch
Type: text/x-patch
Size: 26594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171025/c3daa338/attachment-0001.bin>


More information about the cfe-commits mailing list