[PATCH] D35783: Ignore shadowing for declarations coming from within macros.
Daniel Jasper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 24 03:34:04 PDT 2017
djasper added a comment.
I don't understand how my patch description says that. I am trying to be very explicit about that fact that it doesn't, see last paragraph.
I have thought about what you are suggesting, but
- A DeclContext doesn't have getEndLoc().
- The DeclContext NewDC here is usually the FunctionDecl, which doesn't help. I think you are thinking about the parent CompoundStmt in terms of AST matching. Not sure there is something like that in the AST itself.
https://reviews.llvm.org/D35783
More information about the cfe-commits
mailing list