[PATCH] Extend the check to detect patterns like 'ptr.get() == nullptr'

Samuel Benzaquen sbenza at google.com
Tue Apr 8 08:48:56 PDT 2014


  Minor fix on scripts.

Hi djasper, klimek-test,

http://reviews.llvm.org/D3294

CHANGE SINCE LAST DIFF
  http://reviews.llvm.org/D3294?vs=8423&id=8425#toc

BRANCH
  get_==

ARCANIST PROJECT
  clang-tools-extra

Files:
  clang-tidy/misc/RedundantSmartptrGet.cpp
  test/clang-tidy/check_clang_tidy_fix.sh
  test/clang-tidy/check_clang_tidy_output.sh
  test/clang-tidy/redundant-smartptr-get-fix.cpp
  test/clang-tidy/redundant-smartptr-get.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3294.5.patch
Type: text/x-patch
Size: 8468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140408/3355db43/attachment.bin>


More information about the cfe-commits mailing list