[all-commits] [llvm/llvm-project] 8f0aa9: Revert "Threading: Convert Optional to std::optional"

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Thu Dec 1 15:43:56 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f0aa9df11195ef435717b24401fe76be06cd69f
      https://github.com/llvm/llvm-project/commit/8f0aa9df11195ef435717b24401fe76be06cd69f
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

  Changed paths:
    M llvm/include/llvm/Support/Threading.h
    M llvm/lib/Support/Threading.cpp
    M llvm/lib/Support/Windows/Threading.inc

  Log Message:
  -----------
  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>>'




More information about the All-commits mailing list