[all-commits] [llvm/llvm-project] 169d45: [ADT] Declare replaceAllocation in SmallVector.cpp...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Sep 5 15:47:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 169d453429ca9015046b42719ff5d13cda5d2c6f
      https://github.com/llvm/llvm-project/commit/169d453429ca9015046b42719ff5d13cda5d2c6f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M llvm/include/llvm/ADT/SmallVector.h
    M llvm/lib/Support/SmallVector.cpp

  Log Message:
  -----------
  [ADT] Declare replaceAllocation in SmallVector.cpp (NFC) (#107469)

This patch changes replaceAllocation to a static function while moving
the declaration to SmallVector.cpp.  Note that:

- replaceAllocation is used only within SmallVector.cpp.
- replaceAllocation doesn't access any class members.



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