llvm-project/clang-tools-extra/clang-tidy/performance
Kazu Hirata cd8702efe7 [clang-tidy] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-03 11:54:48 -08:00
..
CMakeLists.txt
FasterStringFindCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
FasterStringFindCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ForRangeCopyCheck.cpp [clang-tidy] performance-for-range-copy: Don't trigger on implicit type conversions. 2021-03-02 20:02:48 -05:00
ForRangeCopyCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ImplicitConversionInLoopCheck.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
ImplicitConversionInLoopCheck.h [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
InefficientAlgorithmCheck.cpp Use StringRef::contains (NFC) 2022-08-28 23:29:02 -07:00
InefficientAlgorithmCheck.h [clang-tidy] Simplify inefficient algorithm check 2021-02-17 10:19:44 +00:00
InefficientStringConcatenationCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
InefficientStringConcatenationCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
InefficientVectorOperationCheck.cpp [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
InefficientVectorOperationCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
MoveConstArgCheck.cpp [clang-tidy] add option performance-move-const-arg.CheckMoveToConstRef 2022-02-10 13:31:07 +00:00
MoveConstArgCheck.h [clang-tidy] add option performance-move-const-arg.CheckMoveToConstRef 2022-02-10 13:31:07 +00:00
MoveConstructorInitCheck.cpp [clang-tidy][NFC] Tweak some generation of diag messages 2021-02-26 19:10:25 +00:00
MoveConstructorInitCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
NoAutomaticMoveCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
NoAutomaticMoveCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
NoIntToPtrCheck.cpp
NoIntToPtrCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
NoexceptMoveConstructorCheck.cpp [clang-tidy] NoexceptMoveConstructorCheck::check - use castAs<> instead of getAs<> to avoid dereference of nullptr 2022-02-12 10:57:09 +00:00
NoexceptMoveConstructorCheck.h
PerformanceTidyModule.cpp
TriviallyDestructibleCheck.cpp
TriviallyDestructibleCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
TypePromotionInMathFnCheck.cpp [clang-tidy] Add a Standalone diagnostics mode to clang-tidy 2022-04-16 09:53:35 +01:00
TypePromotionInMathFnCheck.h [clang-tools-extra] Fixed a number of typos 2022-08-01 15:32:25 +02:00
UnnecessaryCopyInitialization.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
UnnecessaryCopyInitialization.h [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
UnnecessaryValueParamCheck.cpp [clang-tools-extra] Use llvm::find (NFC) 2022-10-30 09:41:55 -07:00
UnnecessaryValueParamCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00