diff options
author | John McCall <rjmccall@apple.com> | 2015-10-21 22:06:03 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2015-10-21 22:06:03 +0000 |
commit | 09ec1ecf03db8ad73284552b1b93e1e3968dbf46 (patch) | |
tree | 3b14fd0e2d6c74dfb10adbad88a25dcded39219f /clang/lib/Serialization/ModuleManager.cpp | |
parent | 7737bd9f9fb5d9cfd5717f36791036fa08d57b95 (diff) | |
download | llvm-09ec1ecf03db8ad73284552b1b93e1e3968dbf46.zip llvm-09ec1ecf03db8ad73284552b1b93e1e3968dbf46.tar.gz llvm-09ec1ecf03db8ad73284552b1b93e1e3968dbf46.tar.bz2 |
Enable ARC on the fragile runtime.
This is almost entirely a matter of just flipping a switch. 99% of
the runtime support is available all the way back to when it was
implemented in the non-fragile runtime, i.e. in Lion. However,
fragile runtimes do not recognize ARC-style ivar layout strings,
which means that accessing __strong or __weak ivars reflectively
(e.g. via object_setIvar) will end up accessing the ivar as if it
were __unsafe_unretained. Therefore, when using reflective
technologies like KVC, be sure that your paths always refer to a
property.
rdar://23209307
llvm-svn: 250955
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions