CertC++-DCLΒΆ
Declarations and Initialization
Nested Rules
Declare objects with appropriate storage durations |
|
Avoid information leakage when passing a structure across a trust boundary |
|
Do not create incompatible declarations of the same function or object |
|
Do not define a C-style variadic function |
|
Do not declare or define a reserved identifier |
|
Never qualify a reference type with const or volatile |
|
Do not write syntactically ambiguous declarations |
|
Overload allocation and deallocation functions as a pair in the same scope |
|
Avoid information leakage when passing a class object across a trust boundary |
|
Avoid cycles during initialization of static objects |
|
Do not let exceptions escape from destructors or deallocation functions |
|
Do not modify the standard namespaces |
|
Do not define an unnamed namespace in a header file |
|
Obey the one-definition rule |
Options
Setting an option for this rule means setting the default for all nested rules.
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
This rule has no individual options.