[IPO] Use std::optional in Attributor.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 07:35:05 +0000 (23:35 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 07:35:05 +0000 (23:35 -0800)
commitffba7ee77831e70c2269be5cd8e79c8f275c1040
treed6ea6d24d7ccd136c66c23c671887522bc406758
parent629819cb6613eee442ba3c5b39b9c39b21969625
[IPO] Use std::optional in Attributor.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/IPO/Attributor.cpp