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