[llvm-commits] [llvm] r141101 - /llvm/trunk/lib/TableGen/Record.cpp

David A. Greene greened at obbligato.org
Wed Oct 5 07:45:16 PDT 2011


Chris Lattner <clattner at apple.com> writes:

>> Before, it was not possible to do this:
>> class D<int a, int b> { ... }
>> class C<list<int> A> : D<A[0], A[1]>;
>> class B<list<int> b> : C<!foreach(...,b)>;
>
> Hi David,
>
> Please make sure to document all new features in the tblgen document.

Ok.  Is this really a new feature, though?  All it does is make passing
a list slice as an argument possible.  I was actually surprised this
didn't work before.

                                 -Dave



More information about the llvm-commits mailing list