[libc] Use std::nullopt instead of None (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 03:14:05 +0000 (19:14 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 03:14:05 +0000 (19:14 -0800)
commit70fe44ca777f179e3de9aa42afc14cd5f86abd34
treeef0bfeb59028e019deee2be0c2717dfad50f96b1
parentf9c76a1198349d08cae6068453ebbaef607f4f6d
[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/include/automemcpy/RandomFunctionGenerator.h
libc/benchmarks/automemcpy/lib/CodeGen.cpp
libc/benchmarks/automemcpy/lib/RandomFunctionGenerator.cpp
libc/benchmarks/automemcpy/unittests/CodeGenTest.cpp
libc/test/utils/tools/WrapperGen/wrappergen_test.cpp
libc/utils/LibcTableGenUtil/APIIndexer.h