diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-03 11:13:39 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-03 11:13:39 -0800 |
commit | 8595f2e54d2df80e8d0f9de415324eaae510a84a (patch) | |
tree | 1b64443aa8d50480efc11202b6d58c19a390f810 /clang/lib/Lex/ModuleMap.cpp | |
parent | fee041f69de071cf813c332abc8be279ff7c0bb7 (diff) | |
download | llvm-8595f2e54d2df80e8d0f9de415324eaae510a84a.zip llvm-8595f2e54d2df80e8d0f9de415324eaae510a84a.tar.gz llvm-8595f2e54d2df80e8d0f9de415324eaae510a84a.tar.bz2 |
[Sema] 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
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions