llvm-project/clang/tools/driver
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 [CMake] Add `CLANG_ENABLE_HLSL` CMake option 2022-09-27 12:33:22 -05:00
Info.plist.in
cc1_main.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
cc1as_main.cpp Move getenv for AS_SECURE_LOG_FILE to clang 2022-10-28 16:08:04 -07:00
cc1gen_reproducer_main.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00
driver.cpp [clang] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08:00