Skip to content
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

Fix initialization of imported ObjC block types. #73577

Merged
merged 1 commit into from
May 13, 2024

Commits on May 11, 2024

  1. Fix initialization of imported ObjC block types.

    This fixes a SIL ownership verification error when importing structs like:
    
    typedef bool (^boolBlock)(void);
    
    struct objc_bool_block {
      __unsafe_unretained boolBlock block;
    };
    
    Fixes rdar://126142109 (Found an operand with a value that is not compatible
    with the operand's operand ownership kind map)
    atrick committed May 11, 2024
    Configuration menu
    Copy the full SHA
    c112e03 View commit details
    Browse the repository at this point in the history