[clang-tools-extra] 2af5275 - [clang-tidy] Add cppcoreguidelines-prefer-member-initializer to ReleaseNotes

Nathan James via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 23 10:29:32 PST 2021


Author: Nathan James
Date: 2021-02-23T18:29:22Z
New Revision: 2af5275f72dad18b76d4db641c3c861d76aa29be

URL: https://github.com/llvm/llvm-project/commit/2af5275f72dad18b76d4db641c3c861d76aa29be
DIFF: https://github.com/llvm/llvm-project/commit/2af5275f72dad18b76d4db641c3c861d76aa29be.diff

LOG: [clang-tidy] Add cppcoreguidelines-prefer-member-initializer to ReleaseNotes

Following a discussion about the current state of this check on the 12.X branch, it was decided to purge the check as it wasn't in a fit to release state, see https://llvm.org/PR49318.
This check has since had some of those issues addressed and should be good for the next release cycle now, pending any more bug reports about it.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D97275

Added: 
    

Modified: 
    clang-tools-extra/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index 0042eaceaccd..38b3b5205df1 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -79,6 +79,12 @@ New checks
   Finds ``pthread_setcanceltype`` function calls where a thread's cancellation
   type is set to asynchronous.
 
+- New :doc:`cppcoreguidelines-prefer-member-initializer
+  <clang-tidy/checks/cppcoreguidelines-prefer-member-initializer>` check.
+
+  Finds member initializations in the constructor body which can be placed into
+  the initialization list instead.
+
 New check aliases
 ^^^^^^^^^^^^^^^^^
 


        


More information about the cfe-commits mailing list