In this case https://reviews.llvm.org/D73090#1840501 @aaron.ballman suggest to add new AST matcher for tagDecl to avoid using recordDecl and enumDecl together.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
You should also regenerate the AST matcher documentation by running clang\docs\tools\dump_ast_matchers.py
clang/lib/ASTMatchers/Dynamic/Registry.cpp | ||
---|---|---|
211–212 | Please keep this list in alphabetical order. |
A drive-by comment.
clang/lib/ASTMatchers/Dynamic/Registry.cpp | ||
---|---|---|
212 | There's already tagType registration on the line 497. And yes, should the list be sorted, that would be obvious. |
I'm happy to do so, but I'm not certain what email address you'd like me to use for you (I can't quite suss it out from the phab emails). Can you let me know what address you'd like me to use for the commit attribution?
Yeah, sure. "cc.tapa@gmail.com".
I forget to verify email in Phabricator settings.
Thank you!
I've committed on your behalf in d5dfd1350efb80f9674db322999dd883fb36a6ad, thank you for the patch!
Please keep this list in alphabetical order.