[PATCH] D43652: TableGen: Resolve all template args simultaneously in AddSubClass
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 22 16:06:15 PST 2018
nhaehnle created this revision.
nhaehnle added reviewers: arsenm, craig.topper, tra, MartinO.
Herald added a subscriber: wdng.
Use the new resolver interface more explicitly, and avoid traversing
all the initializers multiple times.
Add a test case for a pattern that was broken by an earlier version
of this change.
An additional change is that we now remove *all* template arguments
after resolving them.
Change-Id: I86c828c8cc84c18b052dfe0f64c0d5cbf3c4e13c
Repository:
rL LLVM
https://reviews.llvm.org/D43652
Files:
include/llvm/TableGen/Record.h
lib/TableGen/Record.cpp
lib/TableGen/TGParser.cpp
test/TableGen/template-arg-dependency.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43652.135543.patch
Type: text/x-patch
Size: 4969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180223/a415f409/attachment.bin>
More information about the llvm-commits
mailing list