AutosarC++19_03-A18.9.1

The std::bind shall not be used

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

forbidden_libheader_symbol_use

Usage of forbidden entity std::bind from <{}>.

None

False

Options

included_headers

included_headers : bool = True

Whether the rule should also look in headers included by the configured symbol_header.
 

symbol_header

symbol_header : set[str] = set()

Name of the system or user header files of which the symbols should not be used.
 

symbols

symbols : set[bauhaus.analysis.config.QualifiedName] = {'std::bind'}

Names of symbols which are forbidden.
 

system_symbol_header

system_symbol_header : set[str] = {'functional'}

Name of the system header files of which the symbols should not be used.
 

translate_header_name

translate_header_name : bool = False

Whether to auto-translate the symbol_header (e.g. stdlib{.h} -> cstdlib).
 

user_symbol_header

user_symbol_header : set[str] = set()

Name of the user header files of which the symbols should not be used.