Skip to content

[upstreaming] Revert changes to AppleObjCTypeEncodingParser.cpp #249

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

Conversation

Teemperor
Copy link

The added check if the TypeSystem of the decl is a ClangASTContext
doesn't really add anything here. If the check fails we just reach
the end of the function and crash there. At the moment we return
a QualType() instead.

I'll upstream the check as an assert and revert the other changes here.

The added check if the TypeSystem of the decl is a ClangASTContext
doesn't really add anything here. If the check fails we just reach
the end of the function and crash there. At the moment we return
a QualType() instead.

I'll upstream the check as an assert and revert the other changes here.
@Teemperor Teemperor merged commit bc954a1 into swiftlang:swift/master-next Nov 11, 2019
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