[PATCH] D21298: delete null check
Gergely Angeli via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 13 09:40:17 PDT 2016
SilverGeri created this revision.
SilverGeri added a reviewer: xazax.hun.
SilverGeri added a subscriber: cfe-commits.
removes the unnecessary if statements, if it was used to check a pointer's validity just to call delete on that pointer
http://reviews.llvm.org/D21298
Files:
clang-tidy/misc/CMakeLists.txt
clang-tidy/misc/DeleteNullCheck.cpp
clang-tidy/misc/DeleteNullCheck.h
clang-tidy/misc/MiscTidyModule.cpp
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/misc-delete-null.rst
test/clang-tidy/misc-delete-null.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21298.60549.patch
Type: text/x-patch
Size: 7122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160613/a741da6b/attachment.bin>
More information about the cfe-commits
mailing list