[all-commits] [llvm/llvm-project] 74ca51: [NFC][TableGen] Use private inheritance for Traili...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Fri May 2 04:52:17 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 74ca51eac39dbed18dbcbcd0f00b50562b90361f
https://github.com/llvm/llvm-project/commit/74ca51eac39dbed18dbcbcd0f00b50562b90361f
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2025-05-02 (Fri, 02 May 2025)
Changed paths:
M llvm/include/llvm/TableGen/Record.h
M llvm/lib/TableGen/Record.cpp
Log Message:
-----------
[NFC][TableGen] Use private inheritance for TrailingObjects (#138027)
- Use private inheritance for `TrailingObjects` as suggested in the
documentation for `TrailingObjects` class.
- Move std::uninitialized_copy calls from various `get` functions to the
constructors of respective classes.
- Eliminate `NumArgNames` from `DagInit`. Its always equal to `NumArgs`.
- Eliminate unused `name_size/name_empty` from `DagInit`.
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