Skip to content

Commit

Permalink
The file header of TrailingObjects.h suggests that TrailingObjects be…
Browse files Browse the repository at this point in the history
… inherited privately because the public APIs it exposes are not meant as part of the interface. There's no functional change because nothing currently relied on these being inherited publicly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263474 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
AaronBallman committed Mar 14, 2016
1 parent 753ff05 commit 765ea87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/llvm/TableGen/Record.h
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ class BitInit : public Init {
/// It contains a vector of bits, whose size is determined by the type.
///
class BitsInit final : public TypedInit, public FoldingSetNode,
public TrailingObjects<BitsInit, Init *> {
private TrailingObjects<BitsInit, Init *> {
unsigned NumBits;

BitsInit(unsigned N)
Expand Down Expand Up @@ -590,7 +590,7 @@ class StringInit : public TypedInit {
/// ListInit - [AL, AH, CL] - Represent a list of defs
///
class ListInit final : public TypedInit, public FoldingSetNode,
public TrailingObjects<BitsInit, Init *> {
private TrailingObjects<BitsInit, Init *> {
unsigned NumValues;

public:
Expand Down

0 comments on commit 765ea87

Please sign in to comment.