[AsmPrinter] Use std::optional in AsmPrinter.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 22:11:16 +0000 (14:11 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 22:11:17 +0000 (14:11 -0800)
commit6a9ef0dd4e3689c9c982a8303b0d2d545760b28d
tree7ee43b17a533c6bf38a4a92f38fdf80e8a65f65c
parente2138ecc72a99cb04fc7d02e57fadcc2b7c85ad9
[AsmPrinter] Use std::optional in AsmPrinter.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/CodeGen/AsmPrinter/AsmPrinter.cpp