aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/lisp.td
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-01-07 17:05:37 +0000
committerDavid Greene <greened@obbligato.org>2011-01-07 17:05:37 +0000
commit1434f66b2e132a707e2c8ccb3350ea13fb5aa051 (patch)
tree4802d84c0730654fc43566fdb31ce9ac1fbe528c /test/TableGen/lisp.td
parent50dd09bd8592822214ff5fd66cffc3421b92d079 (diff)
downloadexternal_llvm-1434f66b2e132a707e2c8ccb3350ea13fb5aa051.zip
external_llvm-1434f66b2e132a707e2c8ccb3350ea13fb5aa051.tar.gz
external_llvm-1434f66b2e132a707e2c8ccb3350ea13fb5aa051.tar.bz2
Rename lisp-like functions as suggested by Gabor Greif as loooong time
ago. This is both easier to learn and easier to read. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen/lisp.td')
-rw-r--r--test/TableGen/lisp.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TableGen/lisp.td b/test/TableGen/lisp.td
index b521e04..bbed869 100644
--- a/test/TableGen/lisp.td
+++ b/test/TableGen/lisp.td
@@ -15,7 +15,7 @@ class CDR<list<string> r, int n> {
}
class NameList<list<string> Names> :
- List<Names>, CAR<!car(Names)>, CDR<!cdr(Names), !null(!cdr(Names))>;
+ List<Names>, CAR<!head(Names)>, CDR<!tail(Names), !empty(!tail(Names))>;
def Three : NameList<["Tom", "Dick", "Harry"]>;