[all-commits] [llvm/llvm-project] 2e6402: [NFC] Add explicit initializer to PGOCtxProfReader...

Erich Keane via All-commits all-commits at lists.llvm.org
Mon Mar 17 13:22:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e6402ca2c6c33ccf41d74383a8e3afb82489410
      https://github.com/llvm/llvm-project/commit/2e6402ca2c6c33ccf41d74383a8e3afb82489410
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

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

  Log Message:
  -----------
  [NFC] Add explicit initializer to PGOCtxProfReader's RootEntryCount

I found that on Clang versions before 11 we suppress the defaulted
constructor because RootEntryCount would not be initialized. This patch
adds an explicit initializer which should suppress this error.



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