[PATCH] D27827: [ObjC] CodeGen support for @available on macOS
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 23 12:44:53 PST 2017
arphaman added a comment.
Thanks for the explanation, now I get it!
LGTM, with one request for change in the tests
================
Comment at: test/CodeGenObjC/availability-check.m:22
+ // CHECK: br i1 true
+ if (__builtin_available(macos 10.11, *))
+ ;
----------------
Please add a line that verifies that `@available()` uses the builtin as well.
https://reviews.llvm.org/D27827
More information about the cfe-commits
mailing list