[PATCH] D33000: Add support for pretty platform names to `@available`/`__builtin_available`

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 06:46:01 PDT 2017


arphaman created this revision.

We should allow macOS/iOS/tvOS/watchOS in `@available`/`__builtin_available`.


Repository:
  rL LLVM

https://reviews.llvm.org/D33000

Files:
  include/clang/Basic/Attr.td
  lib/Parse/ParseExpr.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/FixIt/fixit-availability.c
  test/FixIt/fixit-availability.mm
  test/Parser/objc-available.m
  test/SemaObjC/unguarded-availability.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33000.98276.patch
Type: text/x-patch
Size: 13285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170509/cfcb50e1/attachment-0001.bin>


More information about the cfe-commits mailing list