diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-03 12:14:21 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-03 12:14:21 -0800 |
commit | 9a41739565d9f7ce94da5e7d83947ead73d9bd54 (patch) | |
tree | b5e1f1bae1a591a5ff1d300156aa282a69a3bc8a /llvm/lib/CodeGen/CodeGen.cpp | |
parent | a41fbb1fc2126e9791fd0f159f21935f6c2f93c4 (diff) | |
download | llvm-9a41739565d9f7ce94da5e7d83947ead73d9bd54.zip llvm-9a41739565d9f7ce94da5e7d83947ead73d9bd54.tar.gz llvm-9a41739565d9f7ce94da5e7d83947ead73d9bd54.tar.bz2 |
[flang] 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 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions