AutosarC++17_03-A18.0.1ΒΆ
The C library facilities shall only be accessed through C++ library headers
Required inputs: IR
#include <cassert> instead of #include <assert.h>.
Also, when including C++ standard headers, prefer the standard name without the .h suffix.
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
c_lib_header |
Include <{}> instead of <{}>. |
None |
False |
cpp_lib_header_with_suffix |
Include <{}> instead of <{}>. |
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
This rule has no individual options.