llvm-project/clang/unittests/Tooling
Kazu Hirata a41fbb1fc2 [clang/unittests] 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 12:14:19 -08:00
..
RecursiveASTVisitorTests [PS5] Add PS5OSTargetInfo class, update affected tests 2022-06-01 13:30:29 -07:00
Syntax [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
ASTSelectionTest.cpp [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
CMakeLists.txt Move the isSelfContainedHeader function from clangd to libtooling. 2022-11-14 09:40:45 +01:00
CastExprTest.cpp Ignore FullExpr when traversing cast sub-expressions 2022-03-21 15:05:53 -04:00
CommentHandlerTest.cpp
CompilationDatabaseTest.cpp [clang] Use std::size (NFC) 2022-11-26 13:58:48 -08:00
DependencyScannerTest.cpp [unittests/Tooling/DependencyScannerTest] Add a target triple for `ScanDepsWithFS` test 2022-07-18 16:55:07 -07:00
DiagnosticsYamlTest.cpp Remark was added to clang tooling Diagnostic 2021-05-24 11:21:44 -04:00
ExecutionTest.cpp
FixItTest.cpp [Testing] TestAST, a helper for writing straight-line AST tests 2022-04-21 21:46:45 +02:00
HeaderAnalysisTest.cpp [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
HeaderIncludesTest.cpp [clangd] Crash in __memcmp_avx2_movbe 2022-02-10 09:40:44 -08:00
LexicallyOrderedRecursiveASTVisitorTest.cpp
LookupTest.cpp [clang] Adjust LookupTest for UsingTypeLocs 2022-03-07 16:22:03 +01:00
QualTypeNamesTest.cpp Preserve qualifiers when getting fully qualified type 2022-07-29 19:42:54 -07:00
RangeSelectorTest.cpp Widen `name` stencil to support `TypeLoc` nodes. 2021-05-13 23:23:12 +01:00
RecursiveASTVisitorTestDeclVisitor.cpp
RecursiveASTVisitorTestPostOrderVisitor.cpp [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
RecursiveASTVisitorTestTypeLocVisitor.cpp [AST] Preserve more structure in UsingEnumDecl node. 2022-10-12 19:54:51 +02:00
RefactoringActionRulesTest.cpp
RefactoringCallbacksTest.cpp
RefactoringTest.cpp [clang] Use Any::has_value instead of Any::hasValue (NFC) 2022-08-20 08:40:18 -07:00
ReplacementTest.h
ReplacementsYamlTest.cpp
RewriterTest.cpp
RewriterTestContext.h
SourceCodeBuildersTest.cpp [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
SourceCodeTest.cpp parse: process GNU and standard attributes on top-level decls 2022-11-21 22:34:50 +00:00
StandardLibraryTest.cpp [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
StencilTest.cpp [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
TestVisitor.h
ToolingTest.cpp [clang][tooling] Allow -cc1 arguments in ToolInvocation 2022-08-24 19:51:12 -07:00
TransformerTest.cpp [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00