[all-commits] [llvm/llvm-project] 286223: [llvm-profgen] Use std::optional in ProfiledBinary...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Nov 26 19:01:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 286223edc62a039fb5e1c6468fda3486dfb9e1af
      https://github.com/llvm/llvm-project/commit/286223edc62a039fb5e1c6468fda3486dfb9e1af
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-26 (Sat, 26 Nov 2022)

  Changed paths:
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp

  Log Message:
  -----------
  [llvm-profgen] Use std::optional in ProfiledBinary.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