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

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 23 05:12:18 PST 2021


njames93 created this revision.
njames93 added reviewers: aaron.ballman, alexfh, baloghadamsoftware.
Herald added subscribers: shchenz, rnkovacs, xazax.hun.
njames93 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97275

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


Index: clang-tools-extra/docs/ReleaseNotes.rst
===================================================================
--- clang-tools-extra/docs/ReleaseNotes.rst
+++ clang-tools-extra/docs/ReleaseNotes.rst
@@ -79,6 +79,12 @@
   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
 ^^^^^^^^^^^^^^^^^
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97275.325748.patch
Type: text/x-patch
Size: 629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210223/2cd8b6cd/attachment.bin>


More information about the cfe-commits mailing list