summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/TableGen/Record.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/TableGen/Record.h b/llvm/include/llvm/TableGen/Record.h
index 031cf0bc148..9140b3a9c5e 100644
--- a/llvm/include/llvm/TableGen/Record.h
+++ b/llvm/include/llvm/TableGen/Record.h
@@ -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,
- private TrailingObjects<BitsInit, Init *> {
+ public 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,
- private TrailingObjects<BitsInit, Init *> {
+ public TrailingObjects<BitsInit, Init *> {
unsigned NumValues;
public:
OpenPOWER on IntegriCloud