aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/lambda-expressions.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-07-24 21:55:34 +0000
committerJordan Rose <jordan_rose@apple.com>2012-07-24 21:55:34 +0000
commitb43f63822e051f2d28d8e083b688b2f113d6ba9c (patch)
tree31e42da02e110a6b4ded84a094ba4569ad68e874 /test/SemaCXX/lambda-expressions.cpp
parent56bf6fd5ea33e3c8c798d908483f3a6266c7a615 (diff)
Add __has_feature(attribute_availability_with_message).
This tests for the ability to include a "message" field in availability attributes, like so: extern void ATSFontGetName(const char *oName) __attribute__((availability(macosx,introduced=8.0,deprecated=9.0, message="use CTFontCopyFullName"))); This was actually supported in Clang 3.1, but we got a request for a __has_feature so that header files can use this more safely. It's unfortunate that the 3.1 release doesn't include this, however. <rdar://problem/11886458> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/lambda-expressions.cpp')
0 files changed, 0 insertions, 0 deletions