[Analysis] Use std::optional in TargetLibraryInfo.h (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 27 Nov 2022 20:18:24 +0000 (12:18 -0800)
committerKazu Hirata <kazu@google.com>
Sun, 27 Nov 2022 20:18:24 +0000 (12:18 -0800)
commita5410e7b970eb232f122afeb8f00e61f77c08bc9
tree4be5f62f8db68ca77d9ff9bee3e478a814048005
parent013afcfeb2abdbf06f61fbf719002c739ec49975
[Analysis] Use std::optional in TargetLibraryInfo.h (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/Analysis/TargetLibraryInfo.h