[PATCH] D27827: [ObjC] CodeGen support for @available on macOS

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 21 17:27:10 PST 2017


erik.pilkington updated this revision to Diff 89305.
erik.pilkington added a comment.

This new patch addresses all of Alex's comments:

- Remove `ObjC` from function names
- Rename `_IsOSVersionAtLeast` -> `__isOSVersionAtLeast`
- Improve testcase


https://reviews.llvm.org/D27827

Files:
  lib/CodeGen/CGExprScalar.cpp
  lib/CodeGen/CGObjC.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/CodeGen/CodeGenModule.h
  test/CodeGenObjC/availability-check.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27827.89305.patch
Type: text/x-patch
Size: 4011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170222/9807cf00/attachment.bin>


More information about the cfe-commits mailing list