Qt-Autosar-A18.0.2¶
The error state of a conversion from string to a numeric value shall be checked
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
forbidden_libheader_symbol_use |
Usage of forbidden entity from <{}>. |
None |
False |
missing_basic_ios_fail |
Use basic_ios::fail() after reading from input streams. |
None |
False |
Options¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
check_functions¶
check_functions : set[bauhaus.analysis.config.QualifiedName] = {'std::basic_ios::fail', 'std::ios_base::fail'}
functions_to_check¶
functions_to_check : set[bauhaus.analysis.config.QualifiedName] = {'std::basic_istream::operator>>'}
included_headers¶
included_headers : bool = True
symbol_header¶
symbol_header : set[str] = set()
symbols¶
symbols : set[bauhaus.analysis.config.QualifiedName] = {'atof', 'atoi', 'atol', 'atoll'}
system_symbol_header¶
system_symbol_header : set[str] = {'stdlib'}
translate_header_name¶
translate_header_name : bool = True
stdlib{.h} -> cstdlib).
user_symbol_header¶
user_symbol_header : set[str] = set()