aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-12-02 19:04:57 -0800
committerKazu Hirata <kazu@google.com>2022-12-02 19:04:57 -0800
commitfef3a16aeab660d0789c592985993bd68b51f517 (patch)
treee24bbf89fb0e58bb8a67f58db92d2928593953df /llvm/unittests/CodeGen/MachineInstrTest.cpp
parentd62480c1995b32eea8b9ed5a92829ee5615c4750 (diff)
downloadllvm-fef3a16aeab660d0789c592985993bd68b51f517.zip
llvm-fef3a16aeab660d0789c592985993bd68b51f517.tar.gz
llvm-fef3a16aeab660d0789c592985993bd68b51f517.tar.bz2
[ADT, Support] 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 Differential Revision: https://reviews.llvm.org/D139241
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
0 files changed, 0 insertions, 0 deletions