[PATCH] D27827: [ObjC] CodeGen support for @available on macOS
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 22 10:11:30 PST 2017
arphaman added inline comments.
================
Comment at: test/CodeGenObjC/availability-check.m:16
+ // CHECK: br i1 true
+ if (__builtin_available(ios 10, *))
+ ;
----------------
Shouldn't this be `br i1 false`, since we are building for macOS so we have no iOS support at all?
https://reviews.llvm.org/D27827
More information about the cfe-commits
mailing list