diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-03 19:07:59 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-03 19:07:59 -0800 |
commit | 3a77eb669894f77ef30f61d3a4f9767596fd0fcd (patch) | |
tree | 4172320cef00f1140bb158b4164d2631c2f9d624 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 043aa1dbba158dd99edbc4fa878e338c4ab5c34a (diff) | |
download | llvm-3a77eb669894f77ef30f61d3a4f9767596fd0fcd.zip llvm-3a77eb669894f77ef30f61d3a4f9767596fd0fcd.tar.gz llvm-3a77eb669894f77ef30f61d3a4f9767596fd0fcd.tar.bz2 |
[mlir/unittests] 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/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions