[all-commits] [llvm/llvm-project] 4c2884: [ProfileData] Use default member initialization (N...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Jun 7 18:18:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c28844e3b1c0fd71c55e5954d21c6455d93068a
      https://github.com/llvm/llvm-project/commit/4c28844e3b1c0fd71c55e5954d21c6455d93068a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProf.h

  Log Message:
  -----------
  [ProfileData] Use default member initialization (NFC) (#94817)

While we are at it, this patch changes the type of ValueCounts to
std:array<double, ...> so that we can use std::array:fill.

Identified with modernize-use-default-member-init.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list