[IR] Use std::optional in Verifier.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Fri, 25 Nov 2022 20:11:44 +0000 (12:11 -0800)
committerKazu Hirata <kazu@google.com>
Fri, 25 Nov 2022 20:11:44 +0000 (12:11 -0800)
commitcec2376f58e099820f57ecd666241cef6747c7cc
tree777dafbb127358f1ea8bb52b5357008572190793
parent44e438c9285ce781315cb83034248d785d751108
[IR] Use std::optional in Verifier.cpp (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/lib/IR/Verifier.cpp