Skip to content

Anonymous struct shouldn't be named as (anonymous) #290

@languagelawyer

Description

@languagelawyer

For the code below

union U {
  struct {} s;
};

cppinsigths produces

struct U
{
  struct 
  {
  };
  
  struct (anonymous) s;
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions