[PATCH] D26406: Add -Wduplicate-protocol for existing diagnostic

Alex Lorenz via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 8 10:59:59 PST 2016


arphaman added a comment.

I'm not sure that it's required, but shouldn't we have also have a test that checks for the usage of this flag as well? Adding a test case with `#pragma clang diagnostic ignored "-Wduplicate-protocol"` and some code to a file like "test/SemaObjC/check-dup-objc-decls-1.m" should be sufficient.


https://reviews.llvm.org/D26406





More information about the cfe-commits mailing list