Skip to content
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

ast: support forward declarations of enums #853

Merged
merged 1 commit into from
Apr 16, 2020

Conversation

paulsmith
Copy link
Contributor

@paulsmith paulsmith commented Apr 13, 2020

enums can be forward-declared.


This change is Reviewable

enums can be forward-declared.
@paulsmith
Copy link
Contributor Author

Actually I think it is more accurate to say "incomplete enum types" in C -- forward-declaration of enums appears to be a C++11 thing. https://gcc.gnu.org/onlinedocs/gcc/Incomplete-Enums.html#Incomplete-Enums

Copy link
Owner

@elliotchance elliotchance left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

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