Revert "Threading: Convert Optional to std::optional"
authorDaniel Thornburgh <dthorn@google.com>
Thu, 1 Dec 2022 23:42:25 +0000 (15:42 -0800)
committerDaniel Thornburgh <dthorn@google.com>
Thu, 1 Dec 2022 23:42:25 +0000 (15:42 -0800)
commit8f0aa9df11195ef435717b24401fe76be06cd69f
tree6f7410a1c2c69338f5b49a9cdf4b71f769de3631
parent5d6ed9ff0c85530ed7f2d706cdcd0d942cb6abf1
Revert "Threading: Convert Optional to std::optional"

This reverts commit 5e50b8089aee249d77542ea858d956568ec6581f.

This commit breaks the build for BOLT:
  bolt/lib/Profile/DataAggregator.cpp:264:66: error: no viable
  conversion from 'Optional<StringRef>[3]' to
  'ArrayRef<std::optional<StringRef>>'
llvm/include/llvm/Support/Threading.h
llvm/lib/Support/Threading.cpp
llvm/lib/Support/Windows/Threading.inc