forked from OSchip/llvm-project
The file header of TrailingObjects.h suggests that TrailingObjects be 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.
llvm-svn: 263474
This commit is contained in:
parent
27a3f01deb
commit
1a57daf314
|
@ -458,7 +458,7 @@ public:
|
|||
/// 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)
|
||||
|
@ -590,7 +590,7 @@ public:
|
|||
/// 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:
|
||||
|
|
Loading…
Reference in New Issue