llvm-project/clang-tools-extra/clang-tidy/performance
Malcolm Parsons 79578cc936 [clang-tidy] Remove duplicated check from move-constructor-init
Summary:
An addition to the move-constructor-init check was duplicating the
modernize-pass-by-value check.
Remove the additional check and UseCERTSemantics option.
Run the move-constructor-init test with both checks enabled.
Fix modernize-pass-by-value false-positive when initializing a base
class.
Add option to modernize-pass-by-value to only warn about parameters
that are already values.

Reviewers: alexfh, flx, aaron.ballman

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D26453

llvm-svn: 290051
2016-12-17 20:23:14 +00:00
..
CMakeLists.txt [ClangTidy] Add new performance-type-promotion-in-math-fn check. 2016-12-14 03:15:01 +00:00
FasterStringFindCheck.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
FasterStringFindCheck.h [clang-tidy] Add check performance-faster-string-find 2016-02-12 19:28:14 +00:00
ForRangeCopyCheck.cpp [clang-tidy] Cleanup namespace in utils folder. 2016-05-03 02:54:05 +00:00
ForRangeCopyCheck.h [clang-tidy] ForRangeCopyCheck that warns on and fixes unnecessary copies of loop variables. 2016-01-29 15:54:26 +00:00
ImplicitCastInLoopCheck.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
ImplicitCastInLoopCheck.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
InefficientStringConcatenationCheck.cpp [clang-tidy] Inefficient string operation 2016-08-03 23:06:03 +00:00
InefficientStringConcatenationCheck.h [clang-tidy] Inefficient string operation 2016-08-03 23:06:03 +00:00
PerformanceTidyModule.cpp [ClangTidy] Add new performance-type-promotion-in-math-fn check. 2016-12-14 03:15:01 +00:00
TypePromotionInMathFnCheck.cpp [clang-tidy] Suggest including <cmath> if necessary in type-promotion-in-math-fn-check. 2016-12-14 06:52:23 +00:00
TypePromotionInMathFnCheck.h [clang-tidy] Suggest including <cmath> if necessary in type-promotion-in-math-fn-check. 2016-12-14 06:52:23 +00:00
UnnecessaryCopyInitialization.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
UnnecessaryCopyInitialization.h [clang-tidy] UnnecessaryCopyInitialization - Extend to trigger on non-const "this" object argument if it is not modified. 2016-05-31 00:25:57 +00:00
UnnecessaryValueParamCheck.cpp [clang-tidy] Remove duplicated check from move-constructor-init 2016-12-17 20:23:14 +00:00
UnnecessaryValueParamCheck.h [clang-tidy] UnnecessaryValueParamCheck - suggest std::move() if non-const value parameter can be moved. 2016-07-01 20:12:15 +00:00