Miscellaneous-NoIrregularIncludeΒΆ
Avoid #includes which cannot be syntactically integrated
Required inputs: IR
#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
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.