commit | beb31a51f67f651c5fa3c5094a78266d04a697a5 | [log] [tgz] |
---|---|---|
author | David Greene <greened@obbligato.org> | Thu May 14 22:23:47 2009 +0000 |
committer | David Greene <greened@obbligato.org> | Thu May 14 22:23:47 2009 +0000 |
tree | 96cd08821f86feee3e6205232374f56d1b79f168 | |
parent | 4afc509b7ffe2c4ea234dfd7af5105feb21685d9 [diff] |
Implement a !foreach operator analogous to GNU make's $(foreach). Use it on dags and lists like this: class decls { string name; } def Decls : decls; class B<list<string> names> : A<!foreach(Decls.name, names, !strconcat(Decls.name, ", Sr."))>; git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71803 91177308-0d34-0410-b5e6-96231b3b80d8