Skip to content

Allow __attribute__ in more places #192

@remexre

Description

@remexre

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    common-extensionSupport for a GCC, Clang, etc. language extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions