hanchenye-llvm-project/clang-tools-extra/clang-tidy/performance
Malcolm Parsons 3de05a2fda [clang-tidy] Ignore implicit functions in performance-unnecessary-value-param
Summary:
The performance-unnecessary-value-param check mangled inherited
constructors, as the constructors' parameters do not have useful source
locations. Fix this by ignoring implicit functions.

Fixes PR31684.

Reviewers: flx, alexfh, aaron.ballman

Subscribers: madsravn, JDevlieghere, cfe-commits

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

llvm-svn: 292786
2017-01-23 13:18:08 +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
ForRangeCopyCheck.cpp
ForRangeCopyCheck.h
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
UnnecessaryValueParamCheck.cpp [clang-tidy] Ignore implicit functions in performance-unnecessary-value-param 2017-01-23 13:18:08 +00:00
UnnecessaryValueParamCheck.h