summaryrefslogtreecommitdiff
path: root/python/typeparser.py
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-09-04 19:21:48 -0700
committerMark Rowe <mark@vector35.com>2025-09-17 21:28:50 -0700
commit4fccb2c8c9673247bfb9ba176021c9889ce680e8 (patch)
treecd7900681d55ad235bddf3e05b8725abccf91fa1 /python/typeparser.py
parent5489c5b71773ac020f0c9dec134fe92310d4cb36 (diff)
[ObjC] Propagate type information from calls to `[super init]`
Calls to `objc_msgSendSuper2` with a selector in the `init` family are detected and their arguments are analyzed to determine the receiver class. A call type adjustment is added to update the return type. This handles most calls to `[super init]` from Objective-C code as the compiler generates a straightforward code sequence for these calls. Some calls from Swift are handled, but the Swift compiler generates more varied code so additional work is needed for complete coverage.
Diffstat (limited to 'python/typeparser.py')
0 files changed, 0 insertions, 0 deletions