AutosarC++17_03-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

Source files should have language specific file extensions, i.e. .c for C files.

Possible Messages

Key

Text

Severity

Disabled

illegal_file_extension

Use only certain extensions for file names.

None

False

Options

allowed_extensions

allowed_extensions : set[str] = {'.h', '.hpp', '.hxx'}

Which file extensions are allowed.
 

file_type

file_type : bauhaus.rules.axivion.lexical.comments.FileToCheckSet = {'User_Include_File'}

The files to check the extensions of.