[PATCH] D57435: [clang-tidy] created wrap-unique check

Ryan Piantedosi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 29 19:21:24 PST 2019


Dosi-Dough created this revision.
Dosi-Dough added reviewers: EricWF, JonasToth.
Dosi-Dough added a project: clang-tools-extra.
Herald added subscribers: xazax.hun, mgorny.

based on abseil tip of the week 126 https://abseil.io/tips/126

Created a check which looks for instances of a factory function that uses a non-public constructor and return a std::unique_ptr<T>.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D57435

Files:
  clang-tidy/.DS_Store
  clang-tidy/abseil/.DS_Store
  clang-tidy/abseil/AbseilTidyModule.cpp
  clang-tidy/abseil/CMakeLists.txt
  clang-tidy/abseil/WrapUniqueCheck.cpp
  clang-tidy/abseil/WrapUniqueCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/abseil-wrap-unique.rst
  docs/clang-tidy/checks/list.rst
  test/.DS_Store
  test/clang-tidy/.DS_Store
  test/clang-tidy/abseil-wrap-unique.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57435.184240.patch
Type: text/x-patch
Size: 11221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190130/cbb440f8/attachment-0001.bin>


More information about the cfe-commits mailing list