summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitbe0d672ac4cd654bc0836a58c04746ae99d9b257 (patch)
tree47c97e0a9420318b561dac3985287c92fc65597f /llvm/test/TableGen
parent26897467058db53eb3446af4904c7dbb80897ada (diff)
downloadbcm5719-llvm-be0d672ac4cd654bc0836a58c04746ae99d9b257.tar.gz
bcm5719-llvm-be0d672ac4cd654bc0836a58c04746ae99d9b257.zip
implement support for C-style string literal concatenation in td files.
llvm-svn: 66663
Diffstat (limited to 'llvm/test/TableGen')
-rw-r--r--llvm/test/TableGen/strconcat.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/TableGen/strconcat.td b/llvm/test/TableGen/strconcat.td
index cdf3928f04d..fc0d80596c9 100644
--- a/llvm/test/TableGen/strconcat.td
+++ b/llvm/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">;
OpenPOWER on IntegriCloud