Skip to content

Added some conveniences for pointers and arrays. #2

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

BrettRToomey
Copy link
Contributor

I think it would be nice to access the underlying type information and sizes of arrays and pointers. I would also like to open up a discussion on how the protocol for arrays would look. Without one and an extension for element, the code isn't very DRY.

Question: internally, am I supposed to use clang or asClang()?

@BrettRToomey
Copy link
Contributor Author

It looks like the failing tests aren't me

@harlanhaskins
Copy link
Member

Thank you! Yes, the tests are failing because we're not setting up the test env right.

Thanks for this! In this case, clang will be faster than asClang() but that's not really a reason to prefer it. Either is fine! Thanks!

:shipit:

@harlanhaskins harlanhaskins merged commit 9c76968 into llvm-swift:master Apr 9, 2017
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.

2 participants