In the case of !foreach(id, input-list, transform) where the type of
input-list is list<A> and the type of transform is B, we now correctly
deduce list<B> as the type of the !foreach.
Change-Id: Ia19dd65eecc5991dd648280ba6a15f6a20fd61de
Paths
| Differential D43555
TableGen: Fix type deduction for !foreach ClosedPublic Authored by nhaehnle on Feb 21 2018, 2:41 AM.
Details Summary In the case of !foreach(id, input-list, transform) where the type of Change-Id: Ia19dd65eecc5991dd648280ba6a15f6a20fd61de
Diff Detail
Event Timelinenhaehnle added a parent revision: D43554: TableGen: Generalize type deduction for !listconcat.Feb 21 2018, 2:41 AM This revision is now accepted and ready to land.Feb 21 2018, 1:04 PM Closed by commit rL325797: TableGen: Fix type deduction for !foreach (authored by nha). · Explain WhyFeb 22 2018, 7:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 135420 llvm/trunk/lib/TableGen/TGParser.cpp
llvm/trunk/test/TableGen/foreach.td
|