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