AutosarC++18_10-A5.1.9

Identical unnamed lambda expressions shall be replaced with a named function or a named lambda expression

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

identical_unnamed_lambda

Identical unnamed lambdas.

None

False

Options

allow_empty_lambdas

allow_empty_lambdas : bool = False

If set to true, this rule will not report duplicates of the trivial empty lambda.