[all-commits] [llvm/llvm-project] 279166: [flang] Use std::nullopt instead of llvm::None (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Wed Dec 7 20:11:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 279166f0a79d686196c89ffbc3f26f8cbb24ba2a
      https://github.com/llvm/llvm-project/commit/279166f0a79d686196c89ffbc3f26f8cbb24ba2a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp

  Log Message:
  -----------
  [flang] Use std::nullopt instead of llvm::None (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


  Commit: 19e6b107889214a2ae31153ea17bd2918c689ffc
      https://github.com/llvm/llvm-project/commit/19e6b107889214a2ae31153ea17bd2918c689ffc
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h

  Log Message:
  -----------
  [mlir] Use std::nullopt instead of llvm::None (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


Compare: https://github.com/llvm/llvm-project/compare/66ff0731822a...19e6b1078892


More information about the All-commits mailing list