Skip to content

Commit e028bee

Browse files
committed
[NFC]update autosar link in clang-tidy doc
1 parent 21a77e8 commit e028bee

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This check implements detection of local variables which could be declared as
88
coding guidelines, such as:
99
`ES.25 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es25-declare-an-object-const-or-constexpr-unless-you-want-to-modify-its-value-later-on>`_
1010
from the C++ Core Guidelines and `AUTOSAR C++14 Rule A7-1-1 (6.7.1 Specifiers)
11-
<https://www.autosar.org/fileadmin/user_upload/standards/adaptive/17-03/AUTOSAR_RS_CPP14Guidelines.pdf>`_.
11+
<https://www.autosar.org/fileadmin/standards/R22-11/AP/AUTOSAR_RS_CPP14Guidelines.pdf>`_.
1212

1313
Please note that this check's analysis is type-based only. Variables that are not modified
1414
but used to create a non-const handle that might escape the scope are not diagnosed

clang-tools-extra/docs/clang-tidy/checks/misc/unconventional-assign-operator.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ types and definitions with good return type but wrong ``return`` statements.
1313
type (e.g. ``int``).
1414
* Private and deleted operators are ignored.
1515
* The operator must always return ``*this``.
16+
17+
This check implements `AUTOSAR C++14 Rule A13-2-1
18+
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-constref>`_.

0 commit comments

Comments
 (0)