[Coroutines] Use std::optional in CoroElide.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 07:15:51 +0000 (23:15 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 07:15:51 +0000 (23:15 -0800)
commitd7fdb5d87b3c8234423d1dc8c012c4310a126600
tree37321f8446f2af255752561effe10bc6ca214d6d
parent3583f4ff4b1ea15779467506b36720437e1ab7c3
[Coroutines] Use std::optional in CoroElide.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/Transforms/Coroutines/CoroElide.cpp