llvm-project/clang-tools-extra/clang-tidy/modernize
Angel Garcia Gomez b9f3059509 Use better mocks in modernize-make-unique, and fix matcher.
Summary: Add the second template argument to the unique_ptr mock, and update the matcher so that it only matches against cases where the second argument is the default.

Reviewers: klimek

Subscribers: alexfh, cfe-commits

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

llvm-svn: 249305
2015-10-05 12:20:17 +00:00
..
CMakeLists.txt Create modernize-make-unique check. 2015-09-29 09:36:41 +00:00
LoopConvertCheck.cpp Document a bug in loop-convert and fix one of its subcases. 2015-10-05 11:15:39 +00:00
LoopConvertCheck.h Prevent loop-convert from leaving empty lines after removing an alias declaration. 2015-10-01 13:08:21 +00:00
LoopConvertUtils.cpp Replace double negation of !FileID.isInvalid() with FileID.isValid(). 2015-10-03 10:46:20 +00:00
LoopConvertUtils.h Add NamingStyle option to modernize-loop-convert. 2015-09-24 17:02:19 +00:00
MakeUniqueCheck.cpp Use better mocks in modernize-make-unique, and fix matcher. 2015-10-05 12:20:17 +00:00
MakeUniqueCheck.h Create modernize-make-unique check. 2015-09-29 09:36:41 +00:00
Makefile
ModernizeTidyModule.cpp Create modernize-make-unique check. 2015-09-29 09:36:41 +00:00
PassByValueCheck.cpp Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang. 2015-09-17 13:31:25 +00:00
PassByValueCheck.h
ReplaceAutoPtrCheck.cpp Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang. 2015-09-17 13:31:25 +00:00
ReplaceAutoPtrCheck.h [clang-tidy] Updated docs. 2015-09-08 09:44:04 +00:00
ShrinkToFitCheck.cpp Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang. 2015-09-17 13:31:25 +00:00
ShrinkToFitCheck.h [clang-tidy] Move misc-use-override and readability-shrink-to-fit to "modernize/" 2015-08-31 13:17:43 +00:00
UseAutoCheck.cpp Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang. 2015-09-17 13:31:25 +00:00
UseAutoCheck.h [clang-tidy] Migrate UseAuto from clang-modernize to clang-tidy. 2015-08-21 15:08:51 +00:00
UseNullptrCheck.cpp Fix bug in modernize-use-nullptr. 2015-10-05 08:40:13 +00:00
UseNullptrCheck.h [clang-tidy] Fix use-after-free in UseNullptrCheck. 2015-08-19 23:57:34 +00:00
UseOverrideCheck.cpp Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang. 2015-09-17 13:31:25 +00:00
UseOverrideCheck.h [clang-tidy] Move misc-use-override and readability-shrink-to-fit to "modernize/" 2015-08-31 13:17:43 +00:00