llvm-project/clang-tools-extra/clang-tidy/performance
Nathan James 672207c319 [clang-tidy] Convert config options that are bools to use the bool overload of get(GlobalOrLocal)?
Summary: This was done with a script that looks for calls to Options.get(GlobalOrLocal) that take an integer for the second argument and the result is either compared not equal to 0 or implicitly converted to bool. There may be other occurances

Reviewers: aaron.ballman, alexfh, gribozavr2

Reviewed By: aaron.ballman

Subscribers: wuzish, nemanjai, xazax.hun, kbarton, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77831
2020-04-12 23:06:09 +01:00
..
CMakeLists.txt [OpenMP] "UnFix" layering problem with FrontendOpenMP 2020-04-07 14:41:18 -05:00
FasterStringFindCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FasterStringFindCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
ForRangeCopyCheck.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
ForRangeCopyCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
ImplicitConversionInLoopCheck.cpp [NFC] Refactor representation of materialized temporaries 2019-11-19 18:20:45 +01:00
ImplicitConversionInLoopCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
InefficientAlgorithmCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00: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] performance-inefficient-vector-operation: Support proto repeated field 2019-09-16 08:54:10 +00:00
MoveConstArgCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
MoveConstArgCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
MoveConstructorInitCheck.cpp [clang-tidy] Change checks that take enum configurations to use a new access method. 2020-04-07 20:04:31 +01:00
MoveConstructorInitCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
NoAutomaticMoveCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
NoAutomaticMoveCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
NoexceptMoveConstructorCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00: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] Change checks that take enum configurations to use a new access method. 2020-04-07 20:04:31 +01:00
TypePromotionInMathFnCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
UnnecessaryCopyInitialization.cpp [clang-tidy] implement utility-function to add 'const' to variables 2020-01-03 20:37:47 +01:00
UnnecessaryCopyInitialization.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
UnnecessaryValueParamCheck.cpp [clang-tidy] Change checks that take enum configurations to use a new access method. 2020-04-07 20:04:31 +01:00
UnnecessaryValueParamCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00