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
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
InefficientStringConcatenationCheck.cpp
InefficientStringConcatenationCheck.h
InefficientVectorOperationCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
InefficientVectorOperationCheck.h
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
MoveConstructorInitCheck.h
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
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