summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/for-range.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-11-08 02:04:24 +0000
committerDouglas Gregor <dgregor@apple.com>2013-11-08 02:04:24 +0000
commitc9f019ab0f95eca0c02da99ec9e555670e189aa5 (patch)
tree622127415ebdace7afcc8982f0d34cc4e1b5b596 /clang/test/CodeGenCXX/for-range.cpp
parent22626e7b4997a58ea1dc4a6e0bf3ed7b9dfabf83 (diff)
downloadbcm5719-llvm-c9f019ab0f95eca0c02da99ec9e555670e189aa5.tar.gz
bcm5719-llvm-c9f019ab0f95eca0c02da99ec9e555670e189aa5.zip
Objective-C++ ARC: Improve the conversion to a const __unsafe_unretained reference.
Under ARC++, a reference to a const Objective-C pointer is implicitly treated as __unsafe_unretained, and can be initialized with (e.g.) a __strong lvalue. Make sure this behavior does not break template argument deduction and (related) that partial ordering still prefers a 'T* const&' template over a 'T const&' template when this case kicks in. Fixes <rdar://problem/14467941>. llvm-svn: 194239
Diffstat (limited to 'clang/test/CodeGenCXX/for-range.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud