[PATCH] D21298: [Clang-tidy] delete null check

Gergely Angeli via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 6 23:43:57 PST 2016


SilverGeri updated this revision to Diff 77015.
SilverGeri added a comment.

checks `if (p != 0)` conditions, too


https://reviews.llvm.org/D21298

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/DeleteNullPointerCheck.cpp
  clang-tidy/misc/DeleteNullPointerCheck.h
  clang-tidy/misc/MiscTidyModule.cpp
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/misc-delete-null-pointer.rst
  test/clang-tidy/misc-delete-null-pointer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21298.77015.patch
Type: text/x-patch
Size: 8057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161107/2d9c6ec4/attachment-0001.bin>


More information about the cfe-commits mailing list