diff options
author | Samuel Benzaquen <sbenza@google.com> | 2014-03-27 17:42:26 +0000 |
---|---|---|
committer | Samuel Benzaquen <sbenza@google.com> | 2014-03-27 17:42:26 +0000 |
commit | 3a571019c8b17e6f5896c5b2a80e3a854011eb32 (patch) | |
tree | 6a7f609f79d924e428298252097304d9167f26d3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b517c8128e8255a205d2e2da65a26f38e2474fcb (diff) | |
download | llvm-3a571019c8b17e6f5896c5b2a80e3a854011eb32.zip llvm-3a571019c8b17e6f5896c5b2a80e3a854011eb32.tar.gz llvm-3a571019c8b17e6f5896c5b2a80e3a854011eb32.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions