[all-commits] [llvm/llvm-project] 400db9: [MC] Use std::optional in MCSchedule.cpp (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Nov 25 12:28:56 PST 2022


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

  Changed paths:
    M llvm/lib/MC/MCSchedule.cpp

  Log Message:
  -----------
  [MC] Use std::optional in MCSchedule.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