AutosarC++17_10-A3.1.2¶
Header files, that are defined locally in the project, shall have a file name’ extension of one of: “.h”, “.hpp” or “.hxx”
Required inputs: IR
.c for C files.Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
illegal_file_extension |
Use only certain extensions for file names. |
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
allowed_extensions¶
allowed_extensions : set[str] = {'.h', '.hpp', '.hxx'}
file_type¶
file_type : bauhaus.rules.axivion.lexical.comments.FileToCheckSet = {'User_Include_File'}