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

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Dec 9 18:32:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c444f7021e6fd077b6b8bea4d9ab8883c34c7e5
      https://github.com/llvm/llvm-project/commit/9c444f7021e6fd077b6b8bea4d9ab8883c34c7e5
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
    M llvm/lib/Analysis/InlineSizeEstimatorAnalysis.cpp
    M llvm/lib/Analysis/ModelUnderTrainingRunner.cpp
    M llvm/lib/Analysis/TFLiteUtils.cpp
    M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp

  Log Message:
  -----------
  [llvm] Use std::nullopt instead of 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: 70010893f93c46183c820f845fd7db14be737cae
      https://github.com/llvm/llvm-project/commit/70010893f93c46183c820f845fd7db14be737cae
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.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


Compare: https://github.com/llvm/llvm-project/compare/285d321a855e...70010893f93c


More information about the All-commits mailing list