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

Gergely Angeli via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 26 10:28:12 PST 2016


SilverGeri updated this revision to Diff 79338.
SilverGeri added a comment.
Herald added a subscriber: JDevlieghere.

only warn, not fix when the 'if' statement has 'else' clause
keeping comments


https://reviews.llvm.org/D21298

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21298.79338.patch
Type: text/x-patch
Size: 9836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161126/c1d0a5bd/attachment-0001.bin>


More information about the cfe-commits mailing list