AutosarC++18_10-A7.1.3¶
CV-qualifiers shall be placed on the right hand side of the type that is a typedef or a using name
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
lhs_cv_qualifier |
CV qualifier on the lhs of a type. |
None |
False |
Options¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
allow_nonpointer_typedefs¶
allow_nonpointer_typedefs : bool = False
allowed_typedefs¶
allowed_typedefs
Set of names for typedefs/usings that are allowed (e.g.Type: set[bauhaus.analysis.config.ShortTypeName | bauhaus.analysis.config.QualifiedName]
Default:
{'clock_t', 'div_t', 'fpos_t', 'int16_t', 'int32_t', 'int64_t', 'int8_t', 'int_fast16_t', 'int_fast32_t', 'int_fast64_t', 'int_fast8_t', 'int_least16_t', 'int_least32_t', 'int_least64_t', 'int_least8_t', 'intmax_t', 'intptr_t', 'ldiv_t', 'lldiv_t', 'max_align_t', 'nullptr_t', 'ptrdiff_t', 'size_t', 'time_t', 'uint16_t', 'uint32_t', 'uint64_t', 'uint8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t', 'uint_fast8_t', 'uint_least16_t', 'uint_least32_t', 'uint_least64_t', 'uint_least8_t', 'uintmax_t', 'uintptr_t'}
int32_t).