CertC-DCLΒΆ
Declarations and Initialization
Nested Rules
Declare objects with appropriate storage durations |
|
Declare identifiers before using them |
|
Do not declare an identifier with conflicting linkage classifications |
|
Do not declare or define a reserved identifier |
|
Use the correct syntax when declaring a flexible array member |
|
Avoid information leakage when passing a structure across a trust boundary |
|
Do not create incompatible declarations of the same function or object |
|
Do not declare variables inside a switch statement before the first case label |
Options
Setting an option for this rule means setting the default for all nested rules.
This rule shares the following common options: confidence, 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.