diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-03 19:08:01 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-03 19:08:01 -0800 |
commit | 63b63c3dcd540c4182f1856b5570c7201cc4b3a9 (patch) | |
tree | c6e0d9b22a419d2e46c5a56f673f7bd917a6d7d0 /clang/lib/Basic/SourceManager.cpp | |
parent | 3a77eb669894f77ef30f61d3a4f9767596fd0fcd (diff) | |
download | llvm-63b63c3dcd540c4182f1856b5570c7201cc4b3a9.zip llvm-63b63c3dcd540c4182f1856b5570c7201cc4b3a9.tar.gz llvm-63b63c3dcd540c4182f1856b5570c7201cc4b3a9.tar.bz2 |
[flang/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 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions