diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-03 18:50:27 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-03 18:50:27 -0800 |
commit | 1a36588ec64ae8576e531e6f0b49eadb90ab0b11 (patch) | |
tree | 036b38c5b1cacbc8d914bd93987682fdebf36c0d /clang/lib/Basic/SourceManager.cpp | |
parent | 1d650d4f1dd333c7053010368be446e28b059d99 (diff) | |
download | llvm-1a36588ec64ae8576e531e6f0b49eadb90ab0b11.zip llvm-1a36588ec64ae8576e531e6f0b49eadb90ab0b11.tar.gz llvm-1a36588ec64ae8576e531e6f0b49eadb90ab0b11.tar.bz2 |
[mlir] 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/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions