Skip to content

ir: Ensure we check for typedefs of anonymous structs at the right time. #641

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
merged 1 commit into from
Apr 18, 2017

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Apr 18, 2017

They appear later in the clang AST, so we need to check for them as a
special-case before flushing the new field.

@highfive
Copy link

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

They appear later in the clang AST, so we need to check for them as a
special-case before flushing the new field.

Fixes rust-lang#639
@emilio emilio force-pushed the anon-struct-typedef branch from f6e4c62 to bcf1ba3 Compare April 18, 2017 00:51
@emilio
Copy link
Contributor Author

emilio commented Apr 18, 2017

r? @fitzgen

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

@fitzgen
Copy link
Member

fitzgen commented Apr 18, 2017

@bors-servo r+

@bors-servo
Copy link

📌 Commit bcf1ba3 has been approved by fitzgen

bors-servo pushed a commit that referenced this pull request Apr 18, 2017
ir: Ensure we check for typedefs of anonymous structs at the right time.

They appear later in the clang AST, so we need to check for them as a
special-case before flushing the new field.
@bors-servo
Copy link

⌛ Testing commit bcf1ba3 with merge 5b74655...

@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: fitzgen
Pushing 5b74655 to master...

@bors-servo bors-servo merged commit bcf1ba3 into rust-lang:master Apr 18, 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.

4 participants