diff options
author | David Greene <greened@obbligato.org> | 2011-10-19 13:04:13 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2011-10-19 13:04:13 +0000 |
commit | e338565757bfcfe9d762751c976684f66954fb45 (patch) | |
tree | 53efedeb81f0056894aa09af2c241dd0cf291d19 /test/TableGen/foreach.td | |
parent | 22dde7e655b76f75bf11e86129410a7dcbfac3ba (diff) | |
download | external_llvm-e338565757bfcfe9d762751c976684f66954fb45.zip external_llvm-e338565757bfcfe9d762751c976684f66954fb45.tar.gz external_llvm-e338565757bfcfe9d762751c976684f66954fb45.tar.bz2 |
Add NAME Member
Add a Value named "NAME" to each Record. This will be set to the def or defm
name when instantiating multiclasses. This will replace the #NAME# processing
hack once paste functionality is in place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen/foreach.td')
-rw-r--r-- | test/TableGen/foreach.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TableGen/foreach.td b/test/TableGen/foreach.td index cbcade9..814ae6e 100644 --- a/test/TableGen/foreach.td +++ b/test/TableGen/foreach.td @@ -1,6 +1,6 @@ // RUN: llvm-tblgen %s | grep {Jr} | count 2 // RUN: llvm-tblgen %s | grep {Sr} | count 2 -// RUN: llvm-tblgen %s | grep {NAME} | count 1 +// RUN: llvm-tblgen %s | grep {"NAME"} | count 1 // XFAIL: vg_leak // Variables for foreach |