llvm-project/clang-tools-extra/clang-tidy/performance
Nathan James c3bdc9814d
[clang-tidy] Reworked enum options handling(again)
Reland b9306fd after fixing the issue causing mac builds to fail unittests.

Following on from D77085, I was never happy with the passing a mapping to the option get/store functions. This patch addresses this by using explicit specializations to handle the serializing and deserializing of enum options.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D82188
2020-07-11 10:13:20 +01:00
..
CMakeLists.txt [openmp] Add missing dependencies for OMP.h.inc after d90443b 2020-06-23 11:48:04 -04:00
FasterStringFindCheck.cpp [clang-tidy] performance-faster-string-find string-view 2020-06-30 16:45:59 +01:00
FasterStringFindCheck.h [clang-tidy] Update lang restrictions on perf module 2020-06-28 15:18:08 +01:00
ForRangeCopyCheck.cpp Set traversal explicitly where needed in clang-tidy 2020-05-21 22:34:37 +01:00
ForRangeCopyCheck.h [clang-tidy] Update lang restrictions on perf module 2020-06-28 15:18:08 +01:00
ImplicitConversionInLoopCheck.cpp Set traversal explicitly where needed in clang-tidy 2020-05-21 22:34:37 +01:00
ImplicitConversionInLoopCheck.h [clang-tidy] Update lang restrictions on perf module 2020-06-28 15:18:08 +01:00
InefficientAlgorithmCheck.cpp Set traversal explicitly where needed in clang-tidy 2020-05-21 22:34:37 +01:00
InefficientAlgorithmCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
InefficientStringConcatenationCheck.cpp [clang-tidy] Convert config options that are bools to use the bool overload of get(GlobalOrLocal)? 2020-04-12 23:06:09 +01:00
InefficientStringConcatenationCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
InefficientVectorOperationCheck.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
InefficientVectorOperationCheck.h [clang-tidy] Update lang restrictions on perf module 2020-06-28 15:18:08 +01:00
MoveConstArgCheck.cpp Set traversal explicitly where needed in clang-tidy 2020-05-21 22:34:37 +01:00
MoveConstArgCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
MoveConstructorInitCheck.cpp [clang-tidy] Reworked enum options handling(again) 2020-07-11 10:13:20 +01:00
MoveConstructorInitCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
NoAutomaticMoveCheck.cpp Set traversal explicitly where needed in clang-tidy 2020-05-21 22:34:37 +01:00
NoAutomaticMoveCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
NoexceptMoveConstructorCheck.cpp [clang-tidy][NFC] Remove unnecessary includes throughout clang-tidy header files 2020-06-29 16:05:52 +01:00
NoexceptMoveConstructorCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
PerformanceTidyModule.cpp [clang-tidy] new performance-no-automatic-move check. 2019-11-22 08:47:55 +01:00
TriviallyDestructibleCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
TriviallyDestructibleCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
TypePromotionInMathFnCheck.cpp [clang-tidy] Reworked enum options handling(again) 2020-07-11 10:13:20 +01:00
TypePromotionInMathFnCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
UnnecessaryCopyInitialization.cpp Set traversal explicitly where needed in clang-tidy 2020-05-21 22:34:37 +01:00
UnnecessaryCopyInitialization.h [clang-tidy] Update lang restrictions on perf module 2020-06-28 15:18:08 +01:00
UnnecessaryValueParamCheck.cpp [clang-tidy] Reworked enum options handling(again) 2020-07-11 10:13:20 +01:00
UnnecessaryValueParamCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00