[Support] Use std::optional in HashBuilder.h (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 27 Nov 2022 22:16:06 +0000 (14:16 -0800)
committerKazu Hirata <kazu@google.com>
Sun, 27 Nov 2022 22:16:06 +0000 (14:16 -0800)
commit74151a2388e141f42d71e7cbdb7e5c59088d9382
tree0799c89b476b21ed40c1766d13f54be30c81de75
parent4700e7ca159ac544d36b032f3523e113faa1d95f
[Support] Use std::optional in HashBuilder.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/Support/HashBuilder.h