llvm-project/clang/tools/diagtool
Kazu Hirata 5891420e68 [clang] 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:46 -08:00
..
CMakeLists.txt
DiagTool.cpp Move STLFunctionalExtras out of STLExtras 2022-01-24 14:13:21 +01:00
DiagTool.h
DiagnosticNames.cpp [clang][tablegen] adds human documentation to `WarningOption` 2022-06-10 17:23:00 +00:00
DiagnosticNames.h
FindDiagnosticID.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
ListWarnings.cpp
ShowEnabledWarnings.cpp Fix lifetime of DiagnosticsEngine in diagtool. 2022-05-06 16:21:49 +02:00
TreeView.cpp Use llvm::any_of and llvm::all_of (NFC) 2021-12-11 11:54:37 -08:00
diagtool_main.cpp