[PATCH] D43766: [clang-tidy][modernize-make-unique] Checks c++14 flag before using std::make_unique

Frederic Tingaud via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 09:44:17 PST 2018


ftingaud updated this revision to Diff 136093.
ftingaud added a comment.

Update with tests and cleaning as indicated by reviewers.


https://reviews.llvm.org/D43766

Files:
  clang-tidy/modernize/MakeSmartPtrCheck.cpp
  clang-tidy/modernize/MakeSmartPtrCheck.h
  clang-tidy/modernize/MakeUniqueCheck.cpp
  clang-tidy/modernize/MakeUniqueCheck.h
  test/clang-tidy/modernize-make-unique-cxx11.cpp
  test/clang-tidy/modernize-make-unique-cxx14.cpp
  test/clang-tidy/modernize-make-unique-header.cpp
  test/clang-tidy/modernize-make-unique-macros.cpp
  test/clang-tidy/modernize-make-unique.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43766.136093.patch
Type: text/x-patch
Size: 5268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180227/c777b342/attachment.bin>


More information about the cfe-commits mailing list