diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-11-30 01:57:58 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-11-30 01:57:58 +0000 |
commit | dc8dab6fabf4bfd4f4b94bf572ac3342a5bbfcd7 (patch) | |
tree | e07864cea78427256faac4556a5f09178139d96d /include/clang/Frontend/CompilerInstance.h | |
parent | dff466c0791465f929a1d8cd551d4c84b360ba32 (diff) |
Add bigger method type encodings to protocol objects. <rdar://problem/10492418>
The new metadata are method @encode strings with additional data.
1. Each Objective-C object is marked with its class name and protocol names.
The same is done for property @encode already.
2. Each block object is marked with its function prototype's @encoding. For
example, a method parameter that is a block object that itself returns void
and takes an int would look like:
@?<v@?i>
These new method @encode strings are stored in a single array pointed to by structs protocol_t and objc_protocol_ext.
Patch provided by Greg Parker!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CompilerInstance.h')
0 files changed, 0 insertions, 0 deletions