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

Recognize simple declaration of function name with function type specifier #595

Conversation

i-garrison
Copy link
Contributor

Simple declaration of function via function type decl specifier declares the same type as usual function declaration, fix this in the code.

@i-garrison i-garrison force-pushed the pr/fix-simple-function-declaration-is-function-type branch from 448e886 to 39f5d55 Compare November 14, 2023 19:39
@i-garrison i-garrison marked this pull request as ready for review November 14, 2023 19:39
@i-garrison
Copy link
Contributor Author

Hmm fixed test case to be actually valid C++ (use array of pointers to functions, array of functions is not valid construct.)

@jonahgraham jonahgraham added the language C/C++ Language Support label Dec 28, 2023
@jonahgraham
Copy link
Member

At recent CDT calls we discussed how to handle reviews where there is insufficient expertise to review amongst existing committers and decided to accept such changes that look reasonable and appear sufficiently tested.

@jonahgraham jonahgraham merged commit 4970952 into eclipse-cdt:main Dec 28, 2023
@jonahgraham
Copy link
Member

Thanks @i-garrison for this contribution.

@i-garrison i-garrison deleted the pr/fix-simple-function-declaration-is-function-type branch December 28, 2023 22:52
@jonahgraham jonahgraham added this to the 11.5.0 milestone Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language C/C++ Language Support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants