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

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


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

  Changed paths:
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Analysis/Presburger/Utils.cpp
    M mlir/lib/Dialect/Affine/Analysis/Utils.cpp

  Log Message:
  -----------
  [mlir] 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