[PATCH] D96138: [clang-tidy] Simplify delete null ptr check

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 5 06:42:40 PST 2021


steveire created this revision.
steveire added reviewers: aaron.ballman, njames93.
Herald added subscribers: nullptr.cpp, xazax.hun.
steveire requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Because it no longer relies on finding implicit casts, this check now
works on templates which are not instantiated in the translation unit.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96138

Files:
  clang-tools-extra/clang-tidy/readability/DeleteNullPointerCheck.cpp
  clang-tools-extra/clang-tidy/readability/DeleteNullPointerCheck.h
  clang-tools-extra/test/clang-tidy/checkers/readability-delete-null-pointer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96138.321746.patch
Type: text/x-patch
Size: 4407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210205/8696f077/attachment-0001.bin>


More information about the cfe-commits mailing list