[libc] Use std::nullopt instead of None (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 03:47:16 +0000 (19:47 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 03:47:17 +0000 (19:47 -0800)
commit23a6932c4989673df204b4692ca805d1556ba0e1
treea31f11d53382753c766728e8f2578225f750f613
parent9a5e5402cf809ea22ed771f59144543f9ea78ff1
[libc] Use std::nullopt instead of None (NFC)

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
libc/benchmarks/automemcpy/lib/RandomFunctionGenerator.cpp