From 1a57daf314055cd16dd009fef9862521e51b7835 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 14 Mar 2016 19:57:48 +0000 Subject: [PATCH] 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 --- llvm/include/llvm/TableGen/Record.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/TableGen/Record.h b/llvm/include/llvm/TableGen/Record.h index 9140b3a..031cf0b 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, - public TrailingObjects { + private TrailingObjects { 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 { + private TrailingObjects { unsigned NumValues; public: -- 2.7.4