[all-commits] [llvm/llvm-project] 237592: [ProfileData] Use default member initializations (...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed May 22 20:39:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2375921d6734016c9079727f798c5585653e858c
      https://github.com/llvm/llvm-project/commit/2375921d6734016c9079727f798c5585653e858c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/ProfileData/InstrProfWriter.cpp

  Log Message:
  -----------
  [ProfileData] Use default member initializations (NFC) (#93120)

This patch uses default member initializations for all the fields in
Header.  The intent is to prevent accidental uninitialized fields and
reduce the number of times we need to mention each member variable.



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