diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-02 23:12:38 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-02 23:12:38 -0800 |
commit | e324a80fab627dd04a454812fcb84f6b9af12546 (patch) | |
tree | acf4f714c36df0bf2b79131d94c92a0f8a02be4f /clang/unittests/Interpreter/InterpreterTest.cpp | |
parent | c68af42fa842c1aab72ff95642ec941499f992a9 (diff) | |
download | llvm-e324a80fab627dd04a454812fcb84f6b9af12546.zip llvm-e324a80fab627dd04a454812fcb84f6b9af12546.tar.gz llvm-e324a80fab627dd04a454812fcb84f6b9af12546.tar.bz2 |
[BOLT] 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/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions