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

Samuel Benzaquen sbenza at google.com
Mon Apr 7 14:38:27 PDT 2014


  Move the checking logic into shell scripts.
  The test will now have one only RUN: line calling the appropriate script.

Hi djasper, klimek-test,

http://reviews.llvm.org/D3294

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

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/make_compile_commands_json.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.3.patch
Type: text/x-patch
Size: 9343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140407/b0a88809/attachment.bin>


More information about the cfe-commits mailing list