[Bitcode] Use std::nullopt_t instead of NoneType (NFC)
authorKazu Hirata <kazu@google.com>
Wed, 14 Dec 2022 08:39:45 +0000 (00:39 -0800)
committerKazu Hirata <kazu@google.com>
Wed, 14 Dec 2022 08:39:45 +0000 (00:39 -0800)
commit8a55264be311bf54ddef0430c712ad51a80a5f7f
tree40fb4dc84bd23c0714d1fdb57d47c1d5e7687255
parentb9b877f91e2001efaf0684b8ce436967dcdf91ca
[Bitcode] Use std::nullopt_t instead of NoneType (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
llvm/include/llvm/Bitcode/BitcodeConvenience.h