[PATCH] D35941: Fix -Wshadow false positives with function-local classes.

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 28 08:54:24 PDT 2017


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

> Another data point is that GCC doesn't warn in this case.

That seems like a reasonable tie breaker when implementing these kinds of style-enforcement warnings. :)


https://reviews.llvm.org/D35941





More information about the cfe-commits mailing list