AutosarC++18_10-A5.2.6¶
The operands of a logical && or || shall be parenthesized if the operands contain binary operators
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
missing_parens_for_logical_operator_operand |
Operand of && or || must be parenthesized. |
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_sequences¶
allow_sequences : bool = False