AutosarC++18_10-A3.1.3

Implementation files, that are defined locally in the project, should have a file name extension of “.cpp”

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] = {'.cpp'}

Which file extensions are allowed.
 

file_type

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

The files to check the extensions of.