AutosarC++18_03-A3.1.6

Trivial accessor and mutator functions should be inlined

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

missing_inline

Trivial accessor and mutator functions should be inlined.

None

False

Options

exclude_constructor_destructors

exclude_constructor_destructors : bool = True

Whether to exclude constructors/destructors from inspected functions.
 

exclude_operator_functions

exclude_operator_functions : bool = False

Whether to exclude operator functions from inspected functions.
 

exclude_virtual_functions

exclude_virtual_functions : bool = True

Whether to exclude virtual functions from inspected functions.
 

require_this_read_write

require_this_read_write : bool = False

Whether to require a read/write on this for a function to be considered a trivial accessor/mutator.