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 | be0d672ac4cd654bc0836a58c04746ae99d9b257 (patch) | |
tree | 47c97e0a9420318b561dac3985287c92fc65597f /llvm/test/TableGen | |
parent | 26897467058db53eb3446af4904c7dbb80897ada (diff) | |
download | bcm5719-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.td | 3 |
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">; |