[all-commits] [llvm/llvm-project] a3209b: [llvm] llvm::Optional::value => operator*/operator->

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Dec 16 21:23:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3209b0fbcf7c1af038cc88b5c410ca89c261a62
      https://github.com/llvm/llvm-project/commit/a3209b0fbcf7c1af038cc88b5c410ca89c261a62
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-12-17 (Sat, 17 Dec 2022)

  Changed paths:
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/Frontend/OpenMP/OMPContext.cpp
    M llvm/unittests/IR/VPIntrinsicTest.cpp

  Log Message:
  -----------
  [llvm] llvm::Optional::value => operator*/operator->

std::optional::value() has undesired exception checking semantics and is
unavailable in some older Xcode. The call sites block std::optional migration.




More information about the All-commits mailing list