[all-commits] [llvm/llvm-project] efbbdd: [ADT] Make DenseMap::init() private (NFC) (#134229)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Apr 3 06:15:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efbbdd69c7974d4fe08ccbbc1d8a206f3f317a1a
      https://github.com/llvm/llvm-project/commit/efbbdd69c7974d4fe08ccbbc1d8a206f3f317a1a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-04-03 (Thu, 03 Apr 2025)

  Changed paths:
    M llvm/include/llvm/ADT/DenseMap.h
    M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp

  Log Message:
  -----------
  [ADT] Make DenseMap::init() private (NFC) (#134229)

I believe this method was not supposed to be public, as it has
additional preconditions (it will misbehave when called on a non-empty
DenseMap).

The public API for this is reserve().



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