aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-11 17:08:13 +0000
committerChris Lattner <sabre@nondot.org>2009-03-11 17:08:13 +0000
commitd7a50cf28c48d44cee0aa4c5abe2dce359a10727 (patch)
treed2d44f41daef56b7f8aece2da1654220f3271314 /test/TableGen
parenteda2ec35a14df50590f4b0b15f4b85be8d4ed5a1 (diff)
downloadexternal_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.td3
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">;