diff options
author | John McCall <rjmccall@apple.com> | 2011-09-29 07:17:38 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-09-29 07:17:38 +0000 |
commit | fe98da0fa352462c02db037360788748f95466f7 (patch) | |
tree | 311155134871e085a669ab7470d736c4bacf655a /lib/Driver/ToolChains.cpp | |
parent | 2f041d0b12aa87f3345e5fb2e38fefba30c5bff3 (diff) |
Add an ns_bridged attribute, used to specify that a
pointer to the annotated struct type can be used as an
Objective-C object pointer. If an argument is given, the
type is actually "toll-free bridged" to the specific type
named there, rather than just to 'id'.
For now, we cannot rely on all types being so annotated,
and we'll always have to have exceptions for things like
CFTypeRef (aka const void*), but this is clearly a good
foundation for improving toolage in this area.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
0 files changed, 0 insertions, 0 deletions