summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-18 23:53:56 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-18 23:53:56 +0000
commit5f361c9f1e1bb10592cefe02595710d6527362af (patch)
tree382c1d4cddc34043f4f2032c0a5534a1123ec11c /clang/lib/CodeGen/CGExpr.cpp
parent84e7c1e2ffbd19c4bb934da483046e8d73e4d931 (diff)
downloadbcm5719-llvm-5f361c9f1e1bb10592cefe02595710d6527362af.tar.gz
bcm5719-llvm-5f361c9f1e1bb10592cefe02595710d6527362af.zip
Address Chris's comments regarding C++ name mangling.
llvm-svn: 64984
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index e991c8ec772..69429e08e67 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -702,7 +702,7 @@ LValue CodeGenFunction::EmitPredefinedFunctionName(unsigned Type) {
std::string FunctionName;
if(const FunctionDecl *FD = dyn_cast<FunctionDecl>(CurFuncDecl)) {
- FunctionName = CGM.getMangledName(FD)->getName();
+ FunctionName = CGM.getMangledName(FD);
} else {
// Just get the mangled name.
FunctionName = CurFn->getName();
OpenPOWER on IntegriCloud