Index: docs/clang-tidy/checks/cert-dcl03-c.rst =================================================================== --- docs/clang-tidy/checks/cert-dcl03-c.rst +++ docs/clang-tidy/checks/cert-dcl03-c.rst @@ -0,0 +1,9 @@ +.. title:: clang-tidy - cert-dcl03-c +.. meta:: + :http-equiv=refresh: 5;URL=misc-static-assert.html + +cert-dcl03-c +============ + +The cert-dcl03-c checker is an alias, please see +`misc-static-assert `_ for more information. Index: docs/clang-tidy/checks/cert-dcl54-cpp.rst =================================================================== --- docs/clang-tidy/checks/cert-dcl54-cpp.rst +++ docs/clang-tidy/checks/cert-dcl54-cpp.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-dcl54-cpp +.. meta:: + :http-equiv=refresh: 5;URL=misc-new-delete-overloads.html + +cert-dcl54-cpp +============== + +The cert-dcl54-cpp checker is an alias, please see +`misc-new-delete-overloads `_ for more +information. Index: docs/clang-tidy/checks/cert-dcl59-cpp.rst =================================================================== --- docs/clang-tidy/checks/cert-dcl59-cpp.rst +++ docs/clang-tidy/checks/cert-dcl59-cpp.rst @@ -0,0 +1,9 @@ +.. title:: clang-tidy - cert-dcl59-cpp +.. meta:: + :http-equiv=refresh: 5;URL=google-build-namespaces.html + +cert-dcl59-cpp +============== + +The cert-dcl59-cpp checker is an alias, please see +`google-build-namespaces `_ for more information. Index: docs/clang-tidy/checks/cert-err61-cpp.rst =================================================================== --- docs/clang-tidy/checks/cert-err61-cpp.rst +++ docs/clang-tidy/checks/cert-err61-cpp.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-err61-cpp +.. meta:: + :http-equiv=refresh: 5;URL=misc-throw-by-value-catch-by-reference.html + +cert-err61-cpp +============== + +The cert-err61-cpp checker is an alias, please see +`misc-throw-by-value-catch-by-reference `_ +for more information. Index: docs/clang-tidy/checks/cert-fio38-c.rst =================================================================== --- docs/clang-tidy/checks/cert-fio38-c.rst +++ docs/clang-tidy/checks/cert-fio38-c.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-fio38-c +.. meta:: + :http-equiv=refresh: 5;URL=misc-non-copyable-objects.html + +cert-fio38-c +============ + +The cert-fio38-c checker is an alias, please see +`misc-non-copyable-objects `_ for more +information. Index: docs/clang-tidy/checks/cert-oop11-cpp.rst =================================================================== --- docs/clang-tidy/checks/cert-oop11-cpp.rst +++ docs/clang-tidy/checks/cert-oop11-cpp.rst @@ -0,0 +1,10 @@ +.. title:: clang-tidy - cert-oop11-cpp +.. meta:: + :http-equiv=refresh: 5;URL=misc-move-constructor-init.html + +cert-oop11-cpp +============== + +The cert-oop11-cpp checker is an alias, please see +`misc-move-constructor-init `_ for more +information. Index: docs/clang-tidy/checks/google-build-namespaces.rst =================================================================== --- docs/clang-tidy/checks/google-build-namespaces.rst +++ docs/clang-tidy/checks/google-build-namespaces.rst @@ -3,6 +3,7 @@ google-build-namespaces ======================= +"cert-dcl59-cpp" redirects here as an alias for this checker. Finds anonymous namespaces in headers. Index: docs/clang-tidy/checks/list.rst =================================================================== --- docs/clang-tidy/checks/list.rst +++ docs/clang-tidy/checks/list.rst @@ -5,9 +5,15 @@ .. toctree:: cert-dcl50-cpp + cert-dcl54-cpp (redirects to misc-new-delete-overloads) + cert-dcl59-cpp (redirects to google-build-namespaces) cert-err52-cpp cert-err58-cpp cert-err60-cpp + cert-err61-cpp (redirects to misc-throw-by-value-catch-by-reference) + cert-oop11-cpp (redirects to misc-move-constructor-init) + cert-dcl03-c (redirects to misc-static-assert) + cert-fio38-c (redirects to misc-non-copyable-objects) cppcoreguidelines-pro-bounds-array-to-pointer-decay cppcoreguidelines-pro-bounds-constant-array-index cppcoreguidelines-pro-bounds-pointer-arithmetic Index: docs/clang-tidy/checks/misc-move-constructor-init.rst =================================================================== --- docs/clang-tidy/checks/misc-move-constructor-init.rst +++ docs/clang-tidy/checks/misc-move-constructor-init.rst @@ -3,6 +3,7 @@ misc-move-constructor-init ========================== +"cert-oop11-cpp" redirects here as an alias for this checker. The check flags user-defined move constructors that have a ctor-initializer initializing a member or base class through a copy constructor instead of a Index: docs/clang-tidy/checks/misc-new-delete-overloads.rst =================================================================== --- docs/clang-tidy/checks/misc-new-delete-overloads.rst +++ docs/clang-tidy/checks/misc-new-delete-overloads.rst @@ -3,6 +3,8 @@ misc-new-delete-overloads ========================= +"cert-dcl54-cpp" redirects here as an alias for this checker. + The check flags overloaded operator new() and operator delete() functions that do not have a corresponding free store function defined within the same scope. For instance, the check will flag a class implementation of a non-placement Index: docs/clang-tidy/checks/misc-non-copyable-objects.rst =================================================================== --- docs/clang-tidy/checks/misc-non-copyable-objects.rst +++ docs/clang-tidy/checks/misc-non-copyable-objects.rst @@ -3,6 +3,8 @@ misc-non-copyable-objects ========================= +"cert-fio38-c" redirects here as an alias for this checker. + The check flags dereferences and non-pointer declarations of objects that are not meant to be passed by value, such as C FILE objects or POSIX pthread_mutex_t objects. Index: docs/clang-tidy/checks/misc-static-assert.rst =================================================================== --- docs/clang-tidy/checks/misc-static-assert.rst +++ docs/clang-tidy/checks/misc-static-assert.rst @@ -3,6 +3,7 @@ misc-static-assert ================== +"cert-dcl03-c" redirects here as an alias for this checker. Replaces ``assert()`` with ``static_assert()`` if the condition is evaluatable at compile time. Index: docs/clang-tidy/checks/misc-throw-by-value-catch-by-reference.rst =================================================================== --- docs/clang-tidy/checks/misc-throw-by-value-catch-by-reference.rst +++ docs/clang-tidy/checks/misc-throw-by-value-catch-by-reference.rst @@ -3,6 +3,8 @@ misc-throw-by-value-catch-by-reference ====================================== +"cert-err61-cpp" redirects here as an alias for this checker. + Finds violations of the rule "Throw by value, catch by reference" presented for example in "C++ Coding Standards" by H. Sutter and A. Alexandrescu. This check also has the option to find violations of the rule "Throw anonymous temporaries" (https://www.securecoding.cert.org/confluence/display/cplusplus/ERR09-CPP.+Throw+anonymous+temporaries). The option is named "CheckThrowTemporaries" and it's on by default. Exceptions: