CodingStyle-MisalignedIfEndIfΒΆ
All #else, #elif and #endif preprocessor directives shall be aligned with the same amount of spaces as the #if or #ifdef directive to which they are related
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
misaligned_elif |
The #elif for the corresponding #if is misaligned |
None |
False |
misaligned_else |
The #else for the corresponding #if is misaligned |
None |
False |
misaligned_endif |
The #endif for the corresponding #if is misaligned |
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
This rule has no individual options.