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 ^^^^^^^^^^^^^^^^^
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 ^^^^^^^^^^^^^^^^^
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits