[Passes] Use std::optional in PassBuilder.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Fri, 25 Nov 2022 20:47:46 +0000 (12:47 -0800)
committerKazu Hirata <kazu@google.com>
Fri, 25 Nov 2022 20:47:46 +0000 (12:47 -0800)
commit410c1f6269779a01ad24909974eafb0f2e8d8cac
treee161c574cbc48cdd919918012fd902fb35a52446
parent96ebf9bc8016543e404c856cd0839d3bffbbf718
[Passes] Use std::optional in PassBuilder.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/Passes/PassBuilder.cpp