[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
Thu Oct 26 11:50:43 PDT 2017


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

- Use a `RefactoringDescriptor` struct that's accessible from a static function in an operation class.
- Make `createSourceReplacements` private.


Repository:
  rL LLVM

https://reviews.llvm.org/D38985

Files:
  include/clang/Tooling/Refactoring/Extract/Extract.h
  include/clang/Tooling/Refactoring/RefactoringActionRegistry.def
  include/clang/Tooling/Refactoring/RefactoringActionRule.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.120466.patch
Type: text/x-patch
Size: 21742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171026/f8f83e69/attachment-0001.bin>


More information about the cfe-commits mailing list