llvm-project/clang-tools-extra/clang-tidy/misc
Samuel Benzaquen 20e93f39c1 Do not touch get() calls on 'this' object.
Summary:
These calls are part of the implementation of the smart pointer itself
and chaning it is likely to be wrong.
Example:
  T& operator*() const { return *get(); }

Reviewers: djasper

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D3540

llvm-svn: 207525
2014-04-29 13:41:23 +00:00
..
ArgumentCommentCheck.cpp clang-tidy/ArgumentCommentCheck: Initializer list in non-static members is unavailable on msc17. 2014-03-18 07:22:43 +00:00
ArgumentCommentCheck.h clang-tidy/ArgumentCommentCheck: Initializer list in non-static members is unavailable on msc17. 2014-03-18 07:22:43 +00:00
CMakeLists.txt Add clang-tidy check to remove redundant .get() calls on smart pointers. 2014-03-27 17:42:26 +00:00
Makefile
MiscTidyModule.cpp Add clang-tidy check to remove redundant .get() calls on smart pointers. 2014-03-27 17:42:26 +00:00
RedundantSmartptrGet.cpp Do not touch get() calls on 'this' object. 2014-04-29 13:41:23 +00:00
RedundantSmartptrGet.h Add clang-tidy check to remove redundant .get() calls on smart pointers. 2014-03-27 17:42:26 +00:00