diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-02-18 23:53:56 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-02-18 23:53:56 +0000 |
| commit | 6ec3668a2608b63473207319f5ceff9bbd22ea51 (patch) | |
| tree | 7e6ecc1b337dd577d5fd77345efe5ce18607fbf8 /lib/CodeGen/CGExpr.cpp | |
| parent | d55979238d90067fa0a9eb2730db969f93ab9bca (diff) | |
Address Chris's comments regarding C++ name mangling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
| -rw-r--r-- | lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index e991c8ec77..69429e08e6 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/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(); |
