[all-commits] [llvm/llvm-project] 15a9a7: [flang] llvm::Optional::value() => => operator*/op...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Dec 17 14:23:01 PST 2022


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

  Changed paths:
    M flang/include/flang/Lower/IterationSpace.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/lib/Lower/CustomIntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Transforms/AffinePromotion.cpp

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

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




More information about the All-commits mailing list