[PATCH] D35783: Ignore shadowing for declarations coming from within macros.

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 24 04:34:26 PDT 2017


klimek added a comment.

Could we perhaps only suppress the warning when we shadow a variable within the same declcontext? Generally, with macros, shadowing local variables is more surprising.


https://reviews.llvm.org/D35783





More information about the cfe-commits mailing list