[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
Thu Jun 22 07:41:54 PDT 2017


arphaman updated this revision to Diff 103577.
arphaman added a comment.

Update the logic for `-Wunguarded-availability -Wno-unguarded-availability-new` so that it only warns for the old APIs.


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.103577.patch
Type: text/x-patch
Size: 13800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170622/304b5a89/attachment-0001.bin>


More information about the cfe-commits mailing list