diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-03 11:13:43 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-03 11:13:43 -0800 |
commit | bb666c69300c962c6a259c9d8e504601e557bc30 (patch) | |
tree | 1f0cdb793fcf70bfa588a4610cf0aad1712fdecf /clang/lib/Lex/ModuleMap.cpp | |
parent | e31564afc3670d512274ccaa49e4fdd905f6b3d6 (diff) | |
download | llvm-bb666c69300c962c6a259c9d8e504601e557bc30.zip llvm-bb666c69300c962c6a259c9d8e504601e557bc30.tar.gz llvm-bb666c69300c962c6a259c9d8e504601e557bc30.tar.bz2 |
[CodeGen] 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