[PATCH] D94877: Add API to retrieve a clade kind from ASTNodeKind

2021-01-19 Thread Stephen Kelly via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG0cd0eb6e0a81: Add API to retrieve a clade kind from ASTNodeKind (authored by stephenkelly). Changed prior to commit: https://reviews.llvm.org/D94877?vs=317226&id=317703#toc Repository: rG LLVM Github

[PATCH] D94877: Add API to retrieve a clade kind from ASTNodeKind

2021-01-19 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM aside from the use of `auto`. Comment at: clang/lib/AST/ASTTypeTraits.cpp:67 +ASTNodeKind ASTNodeKind::getCladeKind() const { + auto LastId = KindId; + w

[PATCH] D94877: Add API to retrieve a clade kind from ASTNodeKind

2021-01-17 Thread Stephen Kelly via Phabricator via cfe-commits
steveire created this revision. steveire added a reviewer: aaron.ballman. steveire requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D94877 Files: clang/include/clang/AST/ASTT