[all-commits] [llvm/llvm-project] 18fd2a: [ProfileData] Use std::optional in InstrProfCorrel...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Dec 10 08:26:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18fd2aa372430b483558ca671f8aa34fc0be54b0
      https://github.com/llvm/llvm-project/commit/18fd2aa372430b483558ca671f8aa34fc0be54b0
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-10 (Sat, 10 Dec 2022)

  Changed paths:
    M llvm/lib/ProfileData/InstrProfCorrelator.cpp

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