[PATCH] D29622: Add a batch query and replace tool based on AST matchers.
    Samuel Benzaquen via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Feb  7 07:44:15 PST 2017
    
    
  
sbenza added inline comments.
================
Comment at: clang-query/QueryReplace.h:35-36
+
+  /// \brief Replacement text. %"identifier" will be substituted by the text of
+  /// an identifier.
+  std::string ToTemplate;
----------------
klimek wrote:
> This doesn't seem to come up in the test? (and I don't understand what it's trying to tell me :)
In the other change the identifier was specified with ${identifier}, not %"identifier".
They should be consistent, no?
https://reviews.llvm.org/D29622
    
    
More information about the cfe-commits
mailing list