[PATCH] D93164: [AST] Add generator for source location introspection
Stephen Kelly via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 15 14:08:41 PST 2020
steveire marked 3 inline comments as done.
steveire added inline comments.
================
Comment at: clang/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp:40
+ // TODO: Extend this with other clades
+ namedDecl(hasName("clang::Stmt")).bind("nodeClade")),
+ optionally(isDerivedFrom(cxxRecordDecl().bind("derivedFrom"))))
----------------
aaron.ballman wrote:
> TIL what "clade" means, thank you for that new word. :-D
It's a biology word, but I think it works well!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93164/new/
https://reviews.llvm.org/D93164
More information about the cfe-commits
mailing list