From 79eb5469e04aa8906262619d1f7a3a71ba5dbd94 Mon Sep 17 00:00:00 2001 From: Alexis Hunt Date: Sun, 29 Aug 2010 21:26:48 +0000 Subject: Implement C++0x user-defined string literals. The extra data stored on user-defined literal Tokens is stored in extra allocated memory, which is managed by the PreprocessorLexer because there isn't a better place to put it that makes sure it gets deallocated, but only after it's used up. My testing has shown no significant slowdown as a result, but independent testing would be appreciated. llvm-svn: 112458 --- clang/lib/CodeGen/Mangle.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/CodeGen/Mangle.cpp') diff --git a/clang/lib/CodeGen/Mangle.cpp b/clang/lib/CodeGen/Mangle.cpp index c06b4fc699c..51b07a13277 100644 --- a/clang/lib/CodeGen/Mangle.cpp +++ b/clang/lib/CodeGen/Mangle.cpp @@ -1634,6 +1634,7 @@ void CXXNameMangler::mangleExpression(const Expr *E, unsigned Arity) { break; case Expr::CXXMemberCallExprClass: // fallthrough + case Expr::UDLiteralExprClass: case Expr::CallExprClass: { const CallExpr *CE = cast(E); Out << "cl"; -- cgit v1.2.3