[PATCH] D37681: [refactor] Simplify the interface and remove some template magic
Eric Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 13 13:58:09 PDT 2017
ioeric added a comment.
This is very nice! Thanks!
Looks good to me; I'll let Manuel stamp the patch for you.
================
Comment at: include/clang/Tooling/Refactoring/RefactoringActionRules.h:56
+ virtual Expected<AtomicChanges>
+ createSourceReplacements(RefactoringRuleContext &Context) = 0;
+
----------------
Can this be `private`?
================
Comment at: include/clang/Tooling/Refactoring/RefactoringActionRules.h:77
+ virtual Expected<SymbolOccurrences>
+ findSymbolOccurrences(RefactoringRuleContext &Context) = 0;
----------------
`private`?
Repository:
rL LLVM
https://reviews.llvm.org/D37681
More information about the cfe-commits
mailing list