AutosarC++19_03-A15.2.1¶
Constructors that are not noexcept shall not be invoked before program startup
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
static_field_only_noexcept |
Constructor called that may throw an exception in static field. |
None |
False |
static_variable_only_noexcept |
Constructor called that may throw an exception in static variable. |
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
ignore_const¶
ignore_const : bool = False