Skip to content

[upstreaming] Revert changes to AppleObjCTypeEncodingParser.cpp #250

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
Copy link
Author

@swift-ci test

1 similar comment
@Teemperor
Copy link
Author

@swift-ci test

@Teemperor Teemperor merged commit fee75b5 into swiftlang:swift/master 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