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

Gergely Angeli via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 31 04:18:34 PST 2016


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

reduce number `hasCondition` to 1;  
add FIXME comment;  
shorten check comments in test


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.82760.patch
Type: text/x-patch
Size: 9112 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161231/6a74448c/attachment.bin>


More information about the cfe-commits mailing list