carlosgalvezp created this revision. Herald added subscribers: PiotrZSL, xazax.hun. Herald added a reviewer: njames93. Herald added a project: All. carlosgalvezp requested review of this revision. Herald added a project: clang-tools-extra. Herald added a subscriber: cfe-commits.
It is no longer part of the CERT standard. Looking at the CERT webpage, we can see it has been moved to the Void section: https://wiki.sei.cmu.edu/confluence/display/cplusplus/5+The+Void Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D147563 Files: clang-tools-extra/docs/ReleaseNotes.rst clang-tools-extra/docs/clang-tidy/checks/cert/dcl21-cpp.rst Index: clang-tools-extra/docs/clang-tidy/checks/cert/dcl21-cpp.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert/dcl21-cpp.rst +++ clang-tools-extra/docs/clang-tidy/checks/cert/dcl21-cpp.rst @@ -3,6 +3,10 @@ cert-dcl21-cpp ============== +.. note:: + This check is deprecated since it's no longer part of the CERT standard. + It will be removed in :program:`clang-tidy` version 19. + This check flags postfix ``operator++`` and ``operator--`` declarations if the return type is not a const object. This also warns if the return type is a reference type. Index: clang-tools-extra/docs/ReleaseNotes.rst =================================================================== --- clang-tools-extra/docs/ReleaseNotes.rst +++ clang-tools-extra/docs/ReleaseNotes.rst @@ -183,6 +183,9 @@ <clang-tidy/checks/bugprone/use-after-move>` check to also cover constructor initializers. +- Deprecated :doc:`cert-dcl21-cpp + <clang-tidy/checks/cert/dcl21-cpp>` check. + - Deprecated check-local options `HeaderFileExtensions` in :doc:`google-build-namespaces <clang-tidy/checks/google/build-namespaces>` check.
Index: clang-tools-extra/docs/clang-tidy/checks/cert/dcl21-cpp.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/cert/dcl21-cpp.rst +++ clang-tools-extra/docs/clang-tidy/checks/cert/dcl21-cpp.rst @@ -3,6 +3,10 @@ cert-dcl21-cpp ============== +.. note:: + This check is deprecated since it's no longer part of the CERT standard. + It will be removed in :program:`clang-tidy` version 19. + This check flags postfix ``operator++`` and ``operator--`` declarations if the return type is not a const object. This also warns if the return type is a reference type. Index: clang-tools-extra/docs/ReleaseNotes.rst =================================================================== --- clang-tools-extra/docs/ReleaseNotes.rst +++ clang-tools-extra/docs/ReleaseNotes.rst @@ -183,6 +183,9 @@ <clang-tidy/checks/bugprone/use-after-move>` check to also cover constructor initializers. +- Deprecated :doc:`cert-dcl21-cpp + <clang-tidy/checks/cert/dcl21-cpp>` check. + - Deprecated check-local options `HeaderFileExtensions` in :doc:`google-build-namespaces <clang-tidy/checks/google/build-namespaces>` check.
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits