diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-11 17:08:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-11 17:08:13 +0000 |
commit | d7a50cf28c48d44cee0aa4c5abe2dce359a10727 (patch) | |
tree | d2d44f41daef56b7f8aece2da1654220f3271314 /test/TableGen | |
parent | eda2ec35a14df50590f4b0b15f4b85be8d4ed5a1 (diff) | |
download | external_llvm-d7a50cf28c48d44cee0aa4c5abe2dce359a10727.zip external_llvm-d7a50cf28c48d44cee0aa4c5abe2dce359a10727.tar.gz external_llvm-d7a50cf28c48d44cee0aa4c5abe2dce359a10727.tar.bz2 |
implement support for C-style string literal concatenation in td files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen')
-rw-r--r-- | test/TableGen/strconcat.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/TableGen/strconcat.td b/test/TableGen/strconcat.td index cdf3928..fc0d805 100644 --- a/test/TableGen/strconcat.td +++ b/test/TableGen/strconcat.td @@ -2,6 +2,9 @@ class Y<string S> { string T = !strconcat(S, "foo"); + + // String values concatenate lexically, as in C. + string S = "foo" "bar"; } def Z : Y<"fu">; |