diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-03 11:54:50 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-03 11:54:50 -0800 |
commit | 059a23c0f01fd6e5bcef0e403d8108a761ad66f5 (patch) | |
tree | fa6e0cf4e0e4bcd36fc8bb3e634a4bbaac77bb3a /llvm/lib/Transforms/Utils/Local.cpp | |
parent | cd8702efe7e6cacfd82cc4909e42718224bcd5d0 (diff) | |
download | llvm-059a23c0f01fd6e5bcef0e403d8108a761ad66f5.zip llvm-059a23c0f01fd6e5bcef0e403d8108a761ad66f5.tar.gz llvm-059a23c0f01fd6e5bcef0e403d8108a761ad66f5.tar.bz2 |
[clang-tools-extra] 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/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions