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