Closed
Description
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;