[PATCH] D131685: [clang][AST] RecursiveASTVisitor should visit owned TagDecl of friend type.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 11 08:45:04 PDT 2022
balazske added reviewers: sammccall, martong, davrec.
balazske added a comment.
Herald added a subscriber: rnkovacs.
I really do not know why parent of the node for the owned `TagDecl` node is the `FriendDecl` and not a `TypeLoc` node, but it is working.
The code `struct A { friend struct Fr; };` caused no problems either (no duplicate visit of `struct Fr`).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131685/new/
https://reviews.llvm.org/D131685
More information about the cfe-commits
mailing list