rnk added a comment. I'd like to preserve the old behavior under -Wshadow-all. The last time I came here to try to quiet a shadowing warning on constructor parameters, we went to great lengths to try to satisfy users who really want to warn on any and all kinds of shadowing. I think you can do it by adding a new diagnostic with the same text in a new group, and using the new diagnostic id if appropriate instead of returning like you do now.
Repository: rL LLVM https://reviews.llvm.org/D26278 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits