llvm-project/clang-tools-extra/clang-tidy/performance
Adam Balogh abd72e9851 [clang-tidy] White List Option for performance-unnecessary-value-param, performance-unnecessary-copy-initialization and performance-for-range-copy
New option added to these three checks to be able to silence false positives on
types that are intentionally passed by value or copied. Such types are e.g.
intrusive reference counting pointer types like llvm::IntrusiveRefCntPtr. The
new option is named WhiteListTypes and can contain a semicolon-separated list of
names of these types. Regular expressions are allowed. Default is empty.

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

llvm-svn: 344340
2018-10-12 13:05:21 +00:00
..
CMakeLists.txt [NFC] Fix build breakage due to missing dep caused by D51950 2018-09-12 00:32:13 +00:00
FasterStringFindCheck.cpp Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
FasterStringFindCheck.h [clang-tidy] Add check performance-faster-string-find 2016-02-12 19:28:14 +00:00
ForRangeCopyCheck.cpp [clang-tidy] White List Option for performance-unnecessary-value-param, performance-unnecessary-copy-initialization and performance-for-range-copy 2018-10-12 13:05:21 +00:00
ForRangeCopyCheck.h [clang-tidy] White List Option for performance-unnecessary-value-param, performance-unnecessary-copy-initialization and performance-for-range-copy 2018-10-12 13:05:21 +00:00
ImplicitConversionInLoopCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
ImplicitConversionInLoopCheck.h Add support for arrays in performance-implicit-conversion-in-loop 2018-06-11 12:46:48 +00:00
InefficientAlgorithmCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
InefficientAlgorithmCheck.h [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
InefficientStringConcatenationCheck.cpp Adapt clang-tidy checks to changing semantics of hasDeclaration. 2017-08-02 13:13:11 +00:00
InefficientStringConcatenationCheck.h [clang-tidy] Inefficient string operation 2016-08-03 23:06:03 +00:00
InefficientVectorOperationCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
InefficientVectorOperationCheck.h [clang-tidy] Support detecting for-range loop in inefficient-vector-operation check. 2017-04-26 18:13:05 +00:00
MoveConstArgCheck.cpp Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
MoveConstArgCheck.h [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
MoveConstructorInitCheck.cpp [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
MoveConstructorInitCheck.h [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
NoexceptMoveConstructorCheck.cpp Update to match clang r331428. 2018-05-03 03:59:50 +00:00
NoexceptMoveConstructorCheck.h [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
PerformanceTidyModule.cpp [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
TypePromotionInMathFnCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +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-tidy] White List Option for performance-unnecessary-value-param, performance-unnecessary-copy-initialization and performance-for-range-copy 2018-10-12 13:05:21 +00:00
UnnecessaryCopyInitialization.h [clang-tidy] White List Option for performance-unnecessary-value-param, performance-unnecessary-copy-initialization and performance-for-range-copy 2018-10-12 13:05:21 +00:00
UnnecessaryValueParamCheck.cpp [clang-tidy] White List Option for performance-unnecessary-value-param, performance-unnecessary-copy-initialization and performance-for-range-copy 2018-10-12 13:05:21 +00:00
UnnecessaryValueParamCheck.h [clang-tidy] White List Option for performance-unnecessary-value-param, performance-unnecessary-copy-initialization and performance-for-range-copy 2018-10-12 13:05:21 +00:00