llvm-project/clang-tools-extra/clang-tidy/google
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
..
AvoidCStyleCastsCheck.cpp LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-09 04:06:52 +00:00
AvoidCStyleCastsCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
AvoidNSObjectNewCheck.cpp
AvoidNSObjectNewCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
AvoidThrowingObjCExceptionCheck.cpp [clang-tidy] Suppress google-objc-avoid-throwing-exception in system macros 🫢 2022-11-30 16:44:45 -08:00
AvoidThrowingObjCExceptionCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
AvoidUnderscoreInGoogletestNameCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
AvoidUnderscoreInGoogletestNameCheck.h Update links to googletest documentation 2022-10-21 13:55:44 +02:00
CMakeLists.txt
DefaultArgumentsCheck.cpp
DefaultArgumentsCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ExplicitConstructorCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
ExplicitConstructorCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ExplicitMakePairCheck.cpp
ExplicitMakePairCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
FunctionNamingCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
FunctionNamingCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
GlobalNamesInHeadersCheck.cpp [clang-tidy] Add support for diagnostics with no location 2020-12-08 20:29:31 +00:00
GlobalNamesInHeadersCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
GlobalVariableDeclarationCheck.cpp Revert "[NFC, Refactor] Modernize StorageClass from Specifiers.h to a scoped enum (II)" 2021-01-04 23:17:45 +01:00
GlobalVariableDeclarationCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
GoogleTidyModule.cpp
IntegerTypesCheck.cpp Cleanup identifier parsing; NFC 2021-09-14 09:12:22 -04:00
IntegerTypesCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
OverloadedUnaryAndCheck.cpp
OverloadedUnaryAndCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
TodoCommentCheck.cpp
TodoCommentCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UnnamedNamespaceInHeaderCheck.cpp [clang-tidy] Add support for diagnostics with no location 2020-12-08 20:29:31 +00:00
UnnamedNamespaceInHeaderCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UpgradeGoogletestCaseCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
UpgradeGoogletestCaseCheck.h [clang-tidy][docs] Fix a couple of missed cases from 6e566bc552 2022-06-22 21:37:16 +01:00
UsingNamespaceDirectiveCheck.cpp
UsingNamespaceDirectiveCheck.h [clang-tidy][docs] Fix a couple of missed cases from 6e566bc552 2022-06-22 21:37:16 +01:00