Miscellaneous-NoIrregularIncludeΒΆ

Avoid #includes which cannot be syntactically integrated

Required inputs: IR

An #include cannot be syntactically integrated if it contains unbalanced #ifdef or braces, or otherwise incomplete syntax constructs.

Irregular includes should be avoided, as they might cause surprising behavior when the incomplete syntax construct is parsed in combination with the neighboring header file or the implementation file.

Possible Messages

Key

Text

Severity

Disabled

irregular_include

irregular #include

None

False

Options