[BinaryFormat] Use std::optional instead of llvm::Optional (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 17 Dec 2022 07:20:11 +0000 (23:20 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 17 Dec 2022 07:20:12 +0000 (23:20 -0800)
commitbcf24026b9fe4bf019471b921138148ab78e1284
tree001ccd949bc02742987340d6e186d1f4786f6ea0
parentc9e121eb44c419f0e55e6e5d7735f6c962b141bc
[BinaryFormat] Use std::optional instead of llvm::Optional (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/BinaryFormat/AMDGPUMetadataVerifier.h
llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp