[PATCH] D55044: [clang-tidy] check for Abseil make_unique
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 29 10:26:01 PST 2018
Eugene.Zelenko added inline comments.
================
Comment at: docs/ReleaseNotes.rst:70
+- New :doc:`abseil-make-unique
+ <clang-tidy/checks/abseil-make-unique>` check.
----------------
Please use alphabetical order for new checks.
================
Comment at: docs/clang-tidy/checks/abseil-make-unique.rst:6
+
+Replaces unique pointers that are constructed with raw pointers with ``absl::make_unique``, for leak-free dynamic allocation.
+
----------------
Please synchronize with Release Notes.
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55044/new/
https://reviews.llvm.org/D55044
More information about the cfe-commits
mailing list