AutosarC++17_10-A2.11.3

A “user-defined” type name shall be a unique identifier within a namespace

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

composite_defined_multiple_times

Composite type has multiple definitions.

None

False

enum_defined_multiple_times

Enumeration type has multiple definitions.

None

False

reused_tag

Tag name reused.

None

False

reused_typedef

Typedef name reused.

None

False

Options

check_types_only_with_external_linkage

check_types_only_with_external_linkage : bool = False

Whether the types should only be checked when they have external linkage.
 

tolerate_macros

tolerate_macros : bool = False

Whether #define and #undef using the typedef's name is allowed.
 

tolerate_typedef

tolerate_typedef : bool = False

Whether a typedef to the tag may have the same name.
 

tolerate_typedefed_entity

tolerate_typedefed_entity : bool = False

Whether the entity forming the typedef's underlying type can have the same name.