diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-03 11:34:25 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-03 11:34:25 -0800 |
commit | 34e0d0579a3a6617b9b3212f2bc63d959c8f56c6 (patch) | |
tree | b07138eabf56dfee2b170dfb42073637531f42bd /clang/lib/Basic/FileManager.cpp | |
parent | 180600660bbbdf8e74f7372a00e24edb219f0868 (diff) | |
download | llvm-34e0d0579a3a6617b9b3212f2bc63d959c8f56c6.zip llvm-34e0d0579a3a6617b9b3212f2bc63d959c8f56c6.tar.gz llvm-34e0d0579a3a6617b9b3212f2bc63d959c8f56c6.tar.bz2 |
[Analysis] 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/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions