summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBuiltin.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2015-09-30 21:27:42 +0000
committerDouglas Gregor <dgregor@apple.com>2015-09-30 21:27:42 +0000
commitd2a713e41bd362125ba80a3eecc7e05876e06adb (patch)
tree17c9fe147727c3d80269947aa6dd383e9f2da0b7 /clang/lib/CodeGen/CGBuiltin.cpp
parentb1ff6e4260dfe4cce64a2ebb425360f706aeb42b (diff)
downloadbcm5719-llvm-d2a713e41bd362125ba80a3eecc7e05876e06adb.tar.gz
bcm5719-llvm-d2a713e41bd362125ba80a3eecc7e05876e06adb.zip
Don't inherit availability information when implementing a protocol requirement.
When an Objective-C method implements a protocol requirement, do not inherit any availability information from the protocol requirement. Rather, check that the implementation is not less available than the protocol requirement, as we do when overriding a method that has availability. Fixes rdar://problem/22734745. llvm-svn: 248949
Diffstat (limited to 'clang/lib/CodeGen/CGBuiltin.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud