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

Workaround issue #100 in cc #31

Merged
merged 1 commit into from
May 21, 2017

Conversation

CtrlZvi
Copy link

@CtrlZvi CtrlZvi commented May 20, 2017

cc parses function pointer declarations slightly incorrectly, which causes
function pointers that return typedefs to simply be typed as the typedef in
c-for-go. This change works around that bug by having the typedef name lookup
function not return the typedef name if the type is a function and wasn't
declared using a typedef.

cc parses function pointer declarations slightly incorrectly, which causes
function pointers that return typedefs to simply be typed as the typedef in
c-for-go. This change works around that bug by having the typedef name lookup
function not return the typedef name if the type is a function and wasn't
declared using a typedef.
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