RECORD OR UNION CODE P

#define RECORD_OR_UNION_CODE_P(T) ((T) == RECORD_TYPE || (T) == UNION_TYPE)

Returns non-zero if T is a RECORD_TYPE (class/struct) or a UNION_TYPE (union).

Defined in cp-tree.h.