Miscellaneous-MissingSelfHeaderIncludeΒΆ
Each compilation unit shall include its own header file
Required inputs: IR
Example
file.cpp must (directly) include a file File.h
if this file is also included by some other file:#include "File.h"
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
missing_selfheader_include |
Compilation unit does not include its own header file. |
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.