[PATCH] D120504: [AST] RAV doesn't traverse explicitly instantiated function bodies by default
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 25 01:25:43 PST 2022
hokein added inline comments.
================
Comment at: clang/include/clang/AST/RecursiveASTVisitor.h:2107
- if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) {
- // Constructor initializers.
----------------
moving this part of code to `if (VisitBody)` seems like a different fix (and I think it is reasonable, from the grammar, the ctor-initializer is part of the function-body), can we separate it and add a test?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120504/new/
https://reviews.llvm.org/D120504
More information about the cfe-commits
mailing list