[PATCH] D29621: Add ASTMatchRefactorer and ReplaceNodeWithTemplate to RefactoringCallbacks

Julian Bangert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 14:13:36 PST 2017


jbangert marked 2 inline comments as done.
jbangert added a comment.

Fixed the test -- I am still getting used to the different ninja test targets.



================
Comment at: lib/Tooling/RefactoringCallbacks.cpp:160
+llvm::Expected<std::unique_ptr<ReplaceNodeWithTemplate>>
+ReplaceNodeWithTemplate::create(StringRef FromId, StringRef ToTemplate) {
+  std::vector<TemplateElement> ParsedTemplate;
----------------
ioeric wrote:
> Is this covered in the test?
Now it is. 


https://reviews.llvm.org/D29621





More information about the cfe-commits mailing list