llvm-project/clang/unittests/Tooling/Syntax
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
..
BuildTreeTest.cpp [clang] Fix missing template arguments in AST of access to member variable template 2022-09-21 00:46:18 +02:00
CMakeLists.txt [Testing] Drop clangTesting from clang's public library interface 2022-04-20 13:28:44 +02:00
MutationsTest.cpp [syntax] Introduce a TokenManager interface. 2022-07-15 10:30:37 +02:00
SynthesisTest.cpp [syntax] Introduce a TokenManager interface. 2022-07-15 10:30:37 +02:00
TokensTest.cpp [clang/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:19 -08:00
TreeTest.cpp [clang][NFC] Use c++17 style variable type traits 2022-11-07 18:25:48 +00:00
TreeTestBase.cpp [syntax] Introduce a TokenManager interface. 2022-07-15 10:30:37 +02:00
TreeTestBase.h [syntax] Introduce a TokenManager interface. 2022-07-15 10:30:37 +02:00