diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-03 18:50:29 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-03 18:50:29 -0800 |
commit | 043aa1dbba158dd99edbc4fa878e338c4ab5c34a (patch) | |
tree | d3d108419e8a3e5c8ae344fe9b646a220dbef87c /clang/lib/Basic/SourceManager.cpp | |
parent | 1a36588ec64ae8576e531e6f0b49eadb90ab0b11 (diff) | |
download | llvm-043aa1dbba158dd99edbc4fa878e338c4ab5c34a.zip llvm-043aa1dbba158dd99edbc4fa878e338c4ab5c34a.tar.gz llvm-043aa1dbba158dd99edbc4fa878e338c4ab5c34a.tar.bz2 |
[polly] 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