[PATCH] D97630: [clang-tidy] Added option to uniqueptr delete release check

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 1 04:10:51 PST 2021


njames93 updated this revision to Diff 327077.
njames93 added a comment.

Add tests to ensure Parens are handled correctly.
Add support for pointers to and smart pointers to unique_ptr objects.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97630/new/

https://reviews.llvm.org/D97630

Files:
  clang-tools-extra/clang-tidy/readability/UniqueptrDeleteReleaseCheck.cpp
  clang-tools-extra/clang-tidy/readability/UniqueptrDeleteReleaseCheck.h
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/readability-uniqueptr-delete-release.rst
  clang-tools-extra/test/clang-tidy/checkers/readability-uniqueptr-delete-release.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97630.327077.patch
Type: text/x-patch
Size: 11748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210301/0f82036e/attachment-0001.bin>


More information about the cfe-commits mailing list