ioeric added a comment.

Drive-by comment: in general, have you considered reusing the existing 
declarations and occurrences finding functionalities in clang-rename? AFAIK, it 
deals with templates and macros pretty well.

o 
https://github.com/llvm-mirror/clang/blob/master/include/clang/Tooling/Refactoring/Rename/USRFinder.h
 
o 
https://github.com/llvm-mirror/clang/blob/master/include/clang/Tooling/Refactoring/Rename/USRLocFinder.h


https://reviews.llvm.org/D38425



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to