AutosarC++17_10-A3.3.1¶
Objects or functions with external linkage (including members of named namespaces) shall be declared in a header file
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
missing_function_declaration_in_header |
Object or function with external linkage shall be declared in a header file |
None |
False |
missing_variable_declaration_in_header |
Object or function with external linkage shall be declared in a header file |
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
restrict_to_namespace_scope¶
restrict_to_namespace_scope : bool = False