[PATCH] D33816: [Sema][ObjC] Don't allow -Wunguarded-availability to be silenced with redeclarations

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 26 09:03:22 PDT 2017


arphaman added inline comments.


================
Comment at: test/SemaObjC/unguarded-availability.m:243
+
+  struct { new_int mem; } anon; // expected-warning{{'new_int' is partial}} expected-note{{annotate '' with an availability attribute}}
+};
----------------
We should never have something like `annotate ''` presented to the user. This should be worded like 'annotate enclosing struct ...' .


https://reviews.llvm.org/D33816





More information about the cfe-commits mailing list