[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 15:21:56 PDT 2017


arphaman updated this revision to Diff 102891.
arphaman marked 2 inline comments as done.
arphaman added a comment.

Remove the assert and support the other partial availability warnings.


Repository:
  rL LLVM

https://reviews.llvm.org/D34264

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaDeclAttr.cpp
  test/SemaObjC/unguarded-availability-new.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34264.102891.patch
Type: text/x-patch
Size: 14260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170616/d00c4558/attachment-0001.bin>


More information about the cfe-commits mailing list