Douglas Gregor
35d2fcfc8e
Teach libc++ about the addressof() overloads it needs to work with
...
Objective-C Automatic Reference Counting, where Objective-C object
pointers can have several different qualifiers (__strong, __weak,
__autoreleasing, __unsafe_unretained). These addressof() overloads are
only provided in ARC mode, and the __weak variant is conditionalized
on having weak-reference support in the ARC runtime.
For historical reasons, Clang provides these definitions itself, and
defines the macro _LIBCPP_PREDEFINED_OBJC_ARC_ADDRESSOF to note when
it as done so. The code belongs here, and this redundancy will be
eliminated in the future.
Addresses <rdar://problem/9658274>.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@133656 91177308-0d34-0410-b5e6-96231b3b80d8
2011-06-22 22:17:44 +00:00
..
2011-02-02 17:36:20 +00:00
2011-05-27 20:52:28 +00:00
2011-06-22 22:17:44 +00:00
2010-11-16 22:09:02 +00:00
2011-05-28 17:59:48 +00:00
2010-11-16 22:09:02 +00:00
2011-06-14 19:58:17 +00:00
2011-05-31 15:34:58 +00:00
2011-06-14 19:58:17 +00:00
2011-06-03 15:16:49 +00:00
2010-11-16 22:09:02 +00:00
2011-02-14 19:12:38 +00:00
2011-06-14 19:58:17 +00:00
2011-05-31 21:06:33 +00:00
2010-11-16 22:09:02 +00:00
2011-05-27 15:04:19 +00:00
2011-06-01 19:59:32 +00:00
2011-03-31 16:39:39 +00:00
2011-05-27 20:52:28 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2011-04-10 19:46:55 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2011-05-28 18:34:36 +00:00
2010-05-11 21:36:01 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2011-05-13 21:52:40 +00:00
2010-11-16 22:09:02 +00:00
2010-11-18 17:34:48 +00:00
2010-11-16 22:09:02 +00:00
2010-11-20 19:16:30 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2011-06-05 13:00:46 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2010-10-14 17:11:39 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2010-11-16 22:09:02 +00:00
2011-06-03 17:30:28 +00:00
2011-05-26 18:23:59 +00:00
2011-06-14 19:58:17 +00:00
2011-02-14 19:12:38 +00:00
2011-05-31 21:45:26 +00:00
2011-06-14 19:58:17 +00:00
2011-05-26 18:23:59 +00:00
2010-11-16 22:09:02 +00:00
2010-12-17 14:46:43 +00:00
2011-05-13 21:52:40 +00:00
2010-11-16 22:09:02 +00:00
2011-02-27 18:02:02 +00:00
2011-05-29 19:57:12 +00:00
2011-05-26 18:23:59 +00:00
2011-06-14 19:58:17 +00:00
2011-05-31 15:34:58 +00:00
2011-06-19 21:45:00 +00:00
2011-06-22 22:17:44 +00:00
2011-05-19 15:05:04 +00:00
2011-06-14 19:58:17 +00:00
2010-11-16 22:09:02 +00:00
2011-04-05 14:55:28 +00:00
2011-06-04 21:32:33 +00:00
2011-04-14 15:59:22 +00:00
2011-05-31 16:55:36 +00:00
2011-06-14 19:58:17 +00:00
2011-05-28 18:51:12 +00:00
2011-06-04 15:22:34 +00:00
2011-02-14 19:12:38 +00:00
2011-06-04 22:09:19 +00:00
2011-05-26 19:48:01 +00:00
2010-11-16 22:09:02 +00:00
2011-06-14 19:58:17 +00:00
2010-11-16 22:09:02 +00:00
2011-05-26 19:48:01 +00:00
2010-11-16 22:09:02 +00:00
2011-05-19 15:05:04 +00:00
2011-06-01 19:59:32 +00:00
2011-06-19 21:45:00 +00:00
2011-05-28 18:57:24 +00:00
2011-05-26 18:23:59 +00:00
2011-06-19 21:45:00 +00:00
2011-06-04 20:18:37 +00:00
2011-06-01 19:59:32 +00:00
2010-11-16 22:09:02 +00:00
2011-06-03 19:40:40 +00:00