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
This commit is contained in:
Chris Lattner
2009-03-11 17:08:13 +00:00
parent eda2ec35a1
commit d7a50cf28c
2 changed files with 17 additions and 2 deletions

View File

@@ -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">;