[PATCH] D37291: [refactor] Use a RefactoringResultConsumer instead of tagged refactoring rule classes

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 30 03:16:38 PDT 2017


arphaman created this revision.
Herald added a reviewer: JonasToth.

This patch changes the way that the refactoring results are produced. Instead of using different `RefactoringActionRule` subclasses for each result type, we now use a single `RefactoringResultConsumer`. This was suggested by Manuel in https://reviews.llvm.org/D36075.


Repository:
  rL LLVM

https://reviews.llvm.org/D37291

Files:
  include/clang/Tooling/Refactoring/RefactoringActionRule.h
  include/clang/Tooling/Refactoring/RefactoringActionRules.h
  include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h
  include/clang/Tooling/Refactoring/RefactoringResultConsumer.h
  unittests/Tooling/RefactoringActionRulesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37291.113220.patch
Type: text/x-patch
Size: 11211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170830/cc2f6508/attachment-0001.bin>


More information about the cfe-commits mailing list