summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/Mangle.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-04-09 22:54:09 +0000
committerJohn McCall <rjmccall@apple.com>2010-04-09 22:54:09 +0000
commite8917e0fd280f38802d56638b6af08c526fc626a (patch)
tree9c1ebb73ff0c2f3bf6a380b67a45ccee90527d3d /clang/lib/CodeGen/Mangle.cpp
parent70e572e740e7329bbf025f1da41daf9258bfb3d1 (diff)
downloadbcm5719-llvm-e8917e0fd280f38802d56638b6af08c526fc626a.tar.gz
bcm5719-llvm-e8917e0fd280f38802d56638b6af08c526fc626a.zip
Mangle some expressions with codegen implications but no mangling "overhead".
llvm-svn: 100909
Diffstat (limited to 'clang/lib/CodeGen/Mangle.cpp')
-rw-r--r--clang/lib/CodeGen/Mangle.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/Mangle.cpp b/clang/lib/CodeGen/Mangle.cpp
index b052f86c1eb..e9c9abb520d 100644
--- a/clang/lib/CodeGen/Mangle.cpp
+++ b/clang/lib/CodeGen/Mangle.cpp
@@ -1488,6 +1488,18 @@ void CXXNameMangler::mangleExpression(const Expr *E) {
break;
}
+ case Expr::CXXBindReferenceExprClass:
+ mangleExpression(cast<CXXBindReferenceExpr>(E)->getSubExpr());
+ break;
+
+ case Expr::CXXBindTemporaryExprClass:
+ mangleExpression(cast<CXXBindTemporaryExpr>(E)->getSubExpr());
+ break;
+
+ case Expr::CXXExprWithTemporariesClass:
+ mangleExpression(cast<CXXExprWithTemporaries>(E)->getSubExpr());
+ break;
+
case Expr::FloatingLiteralClass: {
const FloatingLiteral *FL = cast<FloatingLiteral>(E);
Out << "L";
OpenPOWER on IntegriCloud