Skip to content

[Psuedo-ObjC] Prefer displaying id rather than objc_object* #6904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 18, 2025

Conversation

bdash
Copy link
Contributor

@bdash bdash commented May 30, 2025

An Objective-C developer would very rarely write objc_object* as id is idiomatic.

This requires updating PseudoCFunction to use its language's type printer rather than always using the default type printer.

@bdash bdash force-pushed the pseudo-objc-id branch 2 times, most recently from 087f908 to c2185ec Compare June 10, 2025 06:34
@plafosse plafosse added this to the Helion milestone Jun 10, 2025
bdash added 4 commits June 18, 2025 07:32
objc_opt_self -> [... self], objc_opt_isKindOfClass -> [... isKindOfClass:...], objc_opt_respondsToSelector -> [... respondsToSelector:...]
It was previously explicitly using the default. Retreiving it from the language will make it possible for PseudoObjCFunction to provide its own type printer.
@0cyn 0cyn force-pushed the pseudo-objc-id branch from c2185ec to b6b98c0 Compare June 18, 2025 14:41
@0cyn 0cyn merged commit b6b98c0 into Vector35:dev Jun 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants