diff options
| author | Mark Rowe <mark@vector35.com> | 2025-08-25 15:59:03 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-08-27 15:19:51 -0700 |
| commit | 0847156e8754c2ad0b1769a96f4949a7fb28e03f (patch) | |
| tree | b3a34c852b59badace822e7feb7e77507efbdbf2 /scriptingprovider.cpp | |
| parent | 0ef2fc2645b3b3e212d21c406fd79602a7e29990 (diff) | |
[ObjC] Correctly decode block pointers in the method type encoding
The compiler represents block parameters as `@?` in the method type
encoding string. We had been parsing this as two separate parameters
(one `id` and one unknown type that was mapped to `void*`), resulting in
some Objective-C method implementations incorrectly having an extra
parameter.
We cannot represent a Clang block (e.g., `void (^)()`) in the type
system at present. Since these are Objective-C compatible types the
simplest solution for now is to represent them as `id`.
Diffstat (limited to 'scriptingprovider.cpp')
0 files changed, 0 insertions, 0 deletions
