diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2016-03-14 19:57:48 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2016-03-14 19:57:48 +0000 |
commit | 1a57daf314055cd16dd009fef9862521e51b7835 (patch) | |
tree | f49ec47d5d423f694317b66da7c95d1b354e0bbc | |
parent | 27a3f01deb836d54f057519467c4a896ac9e87b6 (diff) | |
download | bcm5719-llvm-1a57daf314055cd16dd009fef9862521e51b7835.tar.gz bcm5719-llvm-1a57daf314055cd16dd009fef9862521e51b7835.zip |
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
-rw-r--r-- | llvm/include/llvm/TableGen/Record.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/TableGen/Record.h b/llvm/include/llvm/TableGen/Record.h index 9140b3a9c5e..031cf0bc148 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<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: |