[llvm] r304076 - [TableGen] Use the correct type for the first template for the ListInit TrailingObjects.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat May 27 10:36:47 PDT 2017


Author: ctopper
Date: Sat May 27 12:36:47 2017
New Revision: 304076

URL: http://llvm.org/viewvc/llvm-project?rev=304076&view=rev
Log:
[TableGen] Use the correct type for the first template for the ListInit TrailingObjects.

Modified:
    llvm/trunk/include/llvm/TableGen/Record.h

Modified: llvm/trunk/include/llvm/TableGen/Record.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/TableGen/Record.h?rev=304076&r1=304075&r2=304076&view=diff
==============================================================================
--- llvm/trunk/include/llvm/TableGen/Record.h (original)
+++ llvm/trunk/include/llvm/TableGen/Record.h Sat May 27 12:36:47 2017
@@ -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:




More information about the llvm-commits mailing list