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

Allow __attribute__ in more places #192

Open
remexre opened this issue Apr 4, 2022 · 0 comments
Open

Allow __attribute__ in more places #192

remexre opened this issue Apr 4, 2022 · 0 comments
Labels
common-extension Support for a GCC, Clang, etc. language extension

Comments

@remexre
Copy link
Member

remexre commented Apr 4, 2022

This came up with DPDK; there's use of both of these:

void __attribute__((some stuff)) f(void) { ... }
struct foo {
  union {
  } __attribute__((some stuff));
};

Our grammar doesn't currently allow these.

@remexre remexre added the common-extension Support for a GCC, Clang, etc. language extension label Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common-extension Support for a GCC, Clang, etc. language extension
Projects
None yet
Development

No branches or pull requests

1 participant