[all-commits] [llvm/llvm-project] 149313: [RISCV] Use std::optional in RISCVMergeBaseOffset....

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Nov 25 23:08:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14931309015d62b5cdfe40d1c89433896c7df16c
      https://github.com/llvm/llvm-project/commit/14931309015d62b5cdfe40d1c89433896c7df16c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp

  Log Message:
  -----------
  [RISCV] Use std::optional in RISCVMergeBaseOffset.cpp (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




More information about the All-commits mailing list