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

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


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

  Changed paths:
    M clang/lib/Support/RISCVVIntrinsicUtils.cpp
    M clang/utils/TableGen/RISCVVEmitter.cpp

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