OSDN Git Service

[TableGen] Use the correct type for the first template for the ListInit TrailingObjects.
authorCraig Topper <craig.topper@gmail.com>
Sat, 27 May 2017 17:36:47 +0000 (17:36 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 27 May 2017 17:36:47 +0000 (17:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304076 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/TableGen/Record.h

index fef5bf3..ced21c2 100644 (file)
@@ -671,7 +671,7 @@ public:
 /// [AL, AH, CL] - Represent a list of defs
 ///
 class ListInit final : public TypedInit, public FoldingSetNode,
-                       public TrailingObjects<BitsInit, Init *> {
+                       public TrailingObjects<ListInit, Init *> {
   unsigned NumValues;
 
 public: