[llvm-commits] [PATCH 04/13] Add Foreach Declaration Parser

David Greene dag at cray.com
Tue Jan 31 14:49:36 PST 2012


Add a routine to parse foreach iteration declarations.  This is
separate from ParseDeclaration because the type of the named value
(the iterator) doesn't match the type of the initializer value (the
value list).  It also needs to add two values to the foreach record:
the iterator and the value list.
---
 lib/TableGen/TGParser.cpp |   68 +++++++++++++++++++++++++++++++++++++++++++++
 lib/TableGen/TGParser.h   |    1 +
 2 files changed, 69 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Add-Foreach-Declaration-Parser.patch
Type: text/x-patch
Size: 3241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120131/e154b1a7/attachment.bin>


More information about the llvm-commits mailing list