summaryrefslogtreecommitdiff
path: root/basicblock.cpp
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-08-25 15:59:03 -0700
committerMark Rowe <mark@vector35.com>2025-08-27 15:19:51 -0700
commit0847156e8754c2ad0b1769a96f4949a7fb28e03f (patch)
treeb3a34c852b59badace822e7feb7e77507efbdbf2 /basicblock.cpp
parent0ef2fc2645b3b3e212d21c406fd79602a7e29990 (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 'basicblock.cpp')
0 files changed, 0 insertions, 0 deletions