hanchenye-llvm-project/clang-tools-extra
Samuel Benzaquen 3a571019c8 Add clang-tidy check to remove redundant .get() calls on smart pointers.
Summary:
This check finds and removes redundant .get() calls on smart pointers.
Example:
  ptr.get()->Foo()   ==>   ptr->Foo()

Reviewers: alexfh

CC: cfe-commits

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

llvm-svn: 204947
2014-03-27 17:42:26 +00:00
..
clang-apply-replacements [C++11] Replace OwningPtr with std::unique_ptr. 2014-03-09 09:24:40 +00:00
clang-modernize [C++11] Replace OwningPtr with std::unique_ptr. 2014-03-09 09:24:40 +00:00
clang-query [C++11] Replace OwningPtr with std::unique_ptr. 2014-03-09 09:24:40 +00:00
clang-tidy Add clang-tidy check to remove redundant .get() calls on smart pointers. 2014-03-27 17:42:26 +00:00
docs Normalized the usage of override in the doc. 2014-03-03 13:36:30 +00:00
modularize [C++11] Replace OwningPtr with std::unique_ptr. 2014-03-09 09:24:40 +00:00
module-map-checker [C++11] Replace OwningPtr with std::unique_ptr. 2014-03-09 09:24:40 +00:00
pp-trace [C++11] Replace OwningPtr with std::unique_ptr. 2014-03-09 09:24:40 +00:00
remove-cstr-calls [C++11] Replace OwningPtr with std::unique_ptr. 2014-03-09 09:24:40 +00:00
test Add clang-tidy check to remove redundant .get() calls on smart pointers. 2014-03-27 17:42:26 +00:00
tool-template [C++11] Replace OwningPtr with std::unique_ptr. 2014-03-09 09:24:40 +00:00
unittests Removed unused include 2014-03-23 00:32:18 +00:00
.arcconfig
.gitignore
CMakeLists.txt Switch clang-query to use the lineeditor library. 2014-02-01 01:42:42 +00:00
CODE_OWNERS.TXT
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Initial checkin of new module-map-checker tool. 2014-01-07 15:22:08 +00:00
README.txt

README.txt

//===----------------------------------------------------------------------===//
// Clang Tools repository
//===----------------------------------------------------------------------===//

Welcome to the repository of extra Clang Tools.  This repository holds tools
that are developed as part of the LLVM compiler infrastructure project and the
Clang frontend.  These tools are kept in a separate "extra" repository to
allow lighter weight checkouts of the core Clang codebase.

This repository is only intended to be checked out inside of a full LLVM+Clang
tree, and in the 'tools/extra' subdirectory of the Clang checkout.

All discussion regarding Clang, Clang-based tools, and code in this repository
should be held using the standard Clang mailing lists:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Code review for this tree should take place on the standard Clang patch and
commit lists:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

If you find a bug in these tools, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/