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
|
bf89109013
|
Using an early return as it is more clear; NFC.
llvm-svn: 246447
|
2015-08-31 15:28:57 +00:00 |
Aaron Ballman
|
327e97bb37
|
Disable clang-tidy misc checkers when not compiling in C++ mode. Many of the checkers do not require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct.
llvm-svn: 246318
|
2015-08-28 19:27:19 +00:00 |
Aaron Ballman
|
9392ced263
|
Add a new clang-tidy check (misc-move-constructor-init) that diagnoses move constructor initializations that call copy constructors instead of move constructors.
llvm-svn: 245571
|
2015-08-20 15:52:52 +00:00 |