[PATCH] D25450: [clang-tidy] Fix identifier naming in macro args.

Jason Henline via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 15:28:37 PDT 2016


jhen added a comment.

I found a bug in my first patch that I have fixed now. I was trying to iterate over the source range by using `SourceLocation::getLocWithOffset`, but I realized that doesn't work, so I removed it and went back to the original method of checking `SourceRange.getBegin().isMacroID()` and `SourceRange.getEnd().isMacroID()`.


https://reviews.llvm.org/D25450





More information about the cfe-commits mailing list