Skip to content

A7-1-7: Exclude anonymous structs #630

Closed
@lcartey

Description

@lcartey

Affected rules

  • A7-1-7

Description

Anonymous structs are considered a type declaration in our database, but they are usually combined with other declarations by necessity (otherwise it is impossible to later refer to the struct). We should therefore exclude such anonymous structs from the query.

Example

typedef struct x { int y }; z;

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions