[PATCH] Add clang-tidy check to remove redundant .get() calls on smart pointers.

Samuel Benzaquen sbenza at google.com
Thu Mar 27 08:00:27 PDT 2014


  Add more CHECKs.
  Fix comment.

Hi alexfh,

http://llvm-reviews.chandlerc.com/D3186

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D3186?vs=8169&id=8175#toc

BRANCH
  master

ARCANIST PROJECT
  clang-tools-extra

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  clang-tidy/misc/RedundantSmartptrGet.cpp
  clang-tidy/misc/RedundantSmartptrGet.h
  test/clang-tidy/redundant-smartptr-get-fix.cpp
  test/clang-tidy/redundant-smartptr-get.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3186.4.patch
Type: text/x-patch
Size: 9440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140327/1752637a/attachment.bin>


More information about the cfe-commits mailing list