[all-commits] [llvm/llvm-project] 6d11b1: [Support] Change test to use TrailingObjects API p...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon May 12 10:28:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d11b17162a921cd3a66c1d59c6b4b94c9466aed
      https://github.com/llvm/llvm-project/commit/6d11b17162a921cd3a66c1d59c6b4b94c9466aed
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-05-12 (Mon, 12 May 2025)

  Changed paths:
    M llvm/unittests/Support/TrailingObjectsTest.cpp

  Log Message:
  -----------
  [Support] Change test to use TrailingObjects API per documentation (#139319)

- Use private inheritance for TrailingObjects as recommended in
TrailingObjects.h
- No need to define `numTrailingObjects` for the last trailing type.
- Fix comment typos.



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