Aaron Ballman
|
fc4e042bf5
|
Improved the misc-move-constructor-init check to identify arguments that are passed by value but copy assigned to class data members when the non-deleted move constructor is a better fit.
Patch by Felix Berger!
llvm-svn: 249429
|
2015-10-06 16:27:03 +00:00 |
Aaron Ballman
|
b9ea09c445
|
Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang.
llvm-svn: 247886
|
2015-09-17 13:31:25 +00:00 |
Aaron Ballman
|
8b0583ef1b
|
Disable several more clang-tidy modernize checkers when not compiling in C++ mode. Loop conversion would make recommendations for C code, so added a test to ensure that does not happen. The pass by value, use auto and replace auto_ptr checkers would not make recommendations for C code, and are disabled for performance reasons, but do not require an extra test.
llvm-svn: 246310
|
2015-08-28 17:58:10 +00:00 |
Aaron Ballman
|
f7c25368b7
|
Replacing a custom AST matcher with some builtin AST matchers; NFC, and existing tests should provide sufficient coverage.
llvm-svn: 245492
|
2015-08-19 20:26:22 +00:00 |
Alexander Kornienko
|
fc650864ef
|
[clang-tidy] Create clang-tidy module modernize. Add pass-by-value check.
This is the first step for migrating cppmodernize to clang-tidy.
http://reviews.llvm.org/D11946
Patch by Angel Garcia!
llvm-svn: 245045
|
2015-08-14 13:17:11 +00:00 |