[all-commits] [llvm/llvm-project] d788db: [BOLT][NFC] Simplify code using std::optional

Yi Kong via All-commits all-commits at lists.llvm.org
Fri Mar 31 22:48:53 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d788db3d193eac219a9e2a1afc785800ab7378bf
  Author: Yi Kong <yikong at google.com>
  Date:   2023-04-01 (Sat, 01 Apr 2023)

  Changed paths:
    M bolt/tools/merge-fdata/merge-fdata.cpp

  Log Message:
  [BOLT][NFC] Simplify code using std::optional

Use std::optional instead of tracking if it is the first profile seen.

Differential Revision: https://reviews.llvm.org/D147308

More information about the All-commits mailing list