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

Parse empty __attribute__(()) #770

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

MarkZ3
Copy link
Contributor

@MarkZ3 MarkZ3 commented Apr 28, 2024

This is accepted by both GCC and Clang and encountered in real code. It looks a bit strange but basically a condtionally defined macro was used inside the (()) depending on a configurable feature macro of the project.

This is accepted by both GCC and Clang and encountered in real code. It looks a
bit strange but basically a condtionally defined macro was used inside the (())
depending on a configurable feature macro of the project.
@MarkZ3 MarkZ3 force-pushed the ParseEmptyAttrib branch from 7b52c3f to 8cfd108 Compare April 28, 2024 03:43
@jonahgraham jonahgraham added this to the 11.6.0 milestone May 17, 2024
@jonahgraham jonahgraham added the language C/C++ Language Support label May 17, 2024
@jonahgraham
Copy link
Member

Thanks @MarkZ3

@jonahgraham jonahgraham merged commit 3062cdc into eclipse-cdt:main May 17, 2024
5 checks passed
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