AutosarC++18_03-A8.4.5

“consume” parameters declared as X && shall always be moved from

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

missing_move_consume

“consume” parameters shall always be moved from

None

False

Options

exclude_move_assignments_and_constructors

exclude_move_assignments_and_constructors : bool = True

If set to true, "consume" parameters in move-assignments and move-constructors are not reported, even if they are not moved from.
 

moving_routines

moving_routines : set[bauhaus.analysis.config.QualifiedName] = set()

Qualified names of routines considered as moving, i.e., valid replacements for std::move.