Move the 'const' in the AST_*MATCHER_P* macros to the right of ParamType to
avoiad applying the constness on the wrong level when ParamType is a pointer.
Change equalsNode() to explicitly accept 'const Decl*' or 'const Stmt*'.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Are you sure you're synced to the latest version?
http://reviews.llvm.org/rL209652
If your solution works, I like it more (I tried, but didn't get it to compile :P), but it needs to be based on head ;)
Comment Actions
After months of being annoyed by it, I decide to fix it a few days after you already submitted the fix.
I'll sync and fixup the change.