diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-02 20:36:04 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-02 20:36:05 -0800 |
commit | e9e64f7c9e8af778faa62d1b412f190bb3e85f3c (patch) | |
tree | b7f32a0c08dbc857f275e93a005b276bdd294c54 /llvm/unittests/CodeGen/MachineInstrTest.cpp | |
parent | e842c06c2d52ae1d60db7ed528ea3f4215a0aad6 (diff) | |
download | llvm-e9e64f7c9e8af778faa62d1b412f190bb3e85f3c.zip llvm-e9e64f7c9e8af778faa62d1b412f190bb3e85f3c.tar.gz llvm-e9e64f7c9e8af778faa62d1b412f190bb3e85f3c.tar.bz2 |
[Bitcode] 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/unittests/CodeGen/MachineInstrTest.cpp')
0 files changed, 0 insertions, 0 deletions