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

Samuel Benzaquen sbenza at google.com
Tue Apr 8 06:56:53 PDT 2014


  Simplify testing scripts.

Hi djasper, klimek-test,

http://reviews.llvm.org/D3294

CHANGE SINCE LAST DIFF
  http://reviews.llvm.org/D3294?vs=8414&id=8423#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.4.patch
Type: text/x-patch
Size: 8464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140408/899e80af/attachment.bin>


More information about the cfe-commits mailing list