> For the complete documentation index, see [llms.txt](https://cpp-clippy.gitbook.io/cpp-clippy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cpp-clippy.gitbook.io/cpp-clippy/annexes/annex-a.-traceability-to-autosar.md). Agents can also search and read this documentation through its [MCP server](https://cpp-clippy.gitbook.io/cpp-clippy/~gitbook/mcp).

# Annex A. Traceability to Autosar

Traceability to Autosar C++14 Release 19-03

<table><thead><tr><th width="292">Autosar Rule</th><th align="center">Relation Type</th><th width="157" align="center">Related Rule</th><th>Comment</th></tr></thead><tbody><tr><td>A0-1-2 (required) The value returned by a function having a non-void return type that is not an overloaded operator shall be used.</td><td align="center">Identical</td><td align="center">CRT-EXP-03</td><td>-</td></tr><tr><td>M2-13-4 (required) Literal suffixes shall be upper case.</td><td align="center">Identical</td><td align="center">CRT-DCL-01</td><td>-</td></tr><tr><td>A2-13-3 (required) Type wchar_t shall not be used.</td><td align="center">Identical</td><td align="center">CRT-DCL-01</td><td>-</td></tr><tr><td>A5-2-1 (advisory) dynamic_cast should not be used.</td><td align="center">Identical</td><td align="center">CRT-EXP-02</td><td>-</td></tr><tr><td>A5-2-2 (required) Traditional C-style casts shall not be used.</td><td align="center">Identical</td><td align="center">CRT-EXP-01</td><td>-</td></tr><tr><td>A5-2-3 (required) A cast shall not remove any const or volatile qualification from the type of a pointer or reference.</td><td align="center">Identical</td><td align="center">CRT-EXP-04</td><td>-</td></tr><tr><td>A7-1-1 (required) Constexpr or const specifiers shall be used for immutable data declaration.</td><td align="center">Identical</td><td align="center">CRT-EXP-05</td><td>-</td></tr><tr><td>M7-1-2 (required) A pointer or reference parameter in a function shall be declared as pointer to const or reference to const if the corresponding object is not modified.</td><td align="center">Identical</td><td align="center">CRT-EXP-09</td><td>-</td></tr><tr><td>A7-1-6 (required) The typedef specifier shall not be used.</td><td align="center">Identical</td><td align="center">CRT-EXP-06</td><td>-</td></tr><tr><td>A7-2-2 (required) Enumeration underlying base type shall be explicitly defined.</td><td align="center">Identical</td><td align="center">CRT-EXP-07</td><td>-</td></tr><tr><td>A7-2-3 (required) Enumerations shall be declared as scoped enum classes.</td><td align="center">Identical</td><td align="center">CRT-EXP-08</td><td>-</td></tr></tbody></table>
