Adds AST matcher for declarations with default arguments.
Details
Diff Detail
Event Timeline
You should also update lib\ASTMatchers\Dynamic\Registry.cpp to have the new matcher (be sure to keep the new matcher alphabetized as well).
Aside from a minor nit with the comments leading to the public docs, LGTM!
include/clang/ASTMatchers/ASTMatchers.h | ||
---|---|---|
5825–5826 | Remove the spurious semicolons (and regen the HTML docs). |
I did find a few more spurious semicolons with the testing code as well.
If you need me to commit this on your behalf, I'm happy to do so, though it won't happen until tomorrow or Wed. Or, if you have commit privs, feel free to commit with the fixed test case.
unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp | ||
---|---|---|
1995–1997 | Spurious semicolons in here as well (sorry, I missed that before). |
It'd be great if you could commit it -- I don't have commit privileges. Much appreciated!
Remove the spurious semicolons (and regen the HTML docs).