Skip to content

IRGen: Use clang's codegen for protocol decls #61750

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

Conversation

aschwaighofer
Copy link
Contributor

There are certain protocol method decls types that swift does not import today.

@protocol Incomplete
- (id)getObjectFromVarArgs:(id)first, ...;
@end

Furthermore, the old method also emitted duplicate entries for protocols methods when Swift synthesized methods for diagnosics.

We won't import this method into Swift. So if we emit protocol metadata from swift delcs we would generate incomplete records.

rdar://60888524

There are certain protocol method decls types that swift does not import
today.

```
@protocol Incomplete
- (id)getObjectFromVarArgs:(id)first, ...;
@EnD
```

Furthermore, the old method also emitted duplicate entries for protocols
methods when Swift synthesized methods for diagnosics.

We won't import this method into Swift. So if we emit protocol metadata
from swift delcs we would generate incomplete records.

rdar://60888524
@aschwaighofer
Copy link
Contributor Author

@swift-ci test

@aschwaighofer
Copy link
Contributor Author

@swift-ci test source compat

@aschwaighofer
Copy link
Contributor Author

@swift-ci test source compatibility release

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.

1 participant