[PATCH] D147563: [clang-tidy] Deprecate cert-dcl21-cpp

Carlos Galvez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 4 23:33:59 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG712dfec1781d: [clang-tidy] Deprecate cert-dcl21-cpp (authored by carlosgalvezp).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147563/new/

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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147563.510999.patch
Type: text/x-patch
Size: 1188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230405/03857909/attachment.bin>


More information about the cfe-commits mailing list