llvm-project/clang-tools-extra/clangd/support
Kazu Hirata 059a23c0f0 [clang-tools-extra] 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:50 -08:00
..
CMakeLists.txt [clangd] Print current request context along with the stack trace 2021-10-26 00:58:09 +02:00
Cancellation.cpp
Cancellation.h
Context.cpp
Context.h [clangd] Use std::decay_t (NFC) 2022-10-15 14:59:23 -07:00
FileCache.cpp [clang-tools-extra] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:50 -08:00
FileCache.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Function.h [clangd] Use std::decay_t (NFC) 2022-10-15 14:59:23 -07:00
Logger.cpp
Logger.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Markup.cpp [clangd] Avoid using constructor/destructor of vector<incomplete type> 2022-09-29 09:30:03 +02:00
Markup.h [clangd] Avoid using constructor/destructor of vector<incomplete type> 2022-09-29 09:30:03 +02:00
MemoryTree.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
MemoryTree.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Path.cpp
Path.h
Shutdown.cpp
Shutdown.h [clangd][NFC] includes missing headers 2022-02-15 17:44:47 +00:00
ThreadCrashReporter.cpp Fix dupe word typos 2022-11-08 15:29:12 +01:00
ThreadCrashReporter.h [clangd] Print current request context along with the stack trace 2021-10-26 00:58:09 +02:00
Threading.cpp [clangd] Speed up a slow sleeping testcase. 2022-05-06 20:12:17 +02:00
Threading.h [clang][clang-tools-extra] LLVM_NODISCARD => [[nodiscard]]. NFC 2022-08-09 07:11:18 +00:00
ThreadsafeFS.cpp [clang-tools-extra] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:50 -08:00
ThreadsafeFS.h Use std::nullopt_t instead of NoneType (NFC) 2022-11-23 14:16:04 -08:00
Trace.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Trace.h