[PATCH] D34264: Introduce -Wunguarded-availability-new, which is like -Wunguarded-availability, except that it's enabled by default for new deployment targets

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 16 16:17:16 PDT 2017


arphaman added inline comments.


================
Comment at: lib/Sema/SemaDeclAttr.cpp:6944
-    diag = !ObjCPropertyAccess ? diag::err_unavailable
-                               : diag::err_property_method_unavailable;
-    diag_message = diag::err_unavailable_message;
----------------
erik.pilkington wrote:
> Why did you remove the AR_Unavailable checking?
Ooops, that was a mistake


Repository:
  rL LLVM

https://reviews.llvm.org/D34264





More information about the cfe-commits mailing list