diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-20 04:59:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-20 04:59:57 +0000 |
commit | 245169620a6b1168adda35cfffdbd4efce7699e3 (patch) | |
tree | 0c05dedab47edddfeeceb99b9369f5110782e294 /clang/lib/CodeGen/CGExpr.cpp | |
parent | 221044852041f753c508e30e21fe7ae1d87a6d0f (diff) | |
download | bcm5719-llvm-245169620a6b1168adda35cfffdbd4efce7699e3.tar.gz bcm5719-llvm-245169620a6b1168adda35cfffdbd4efce7699e3.zip |
as eli points out, we're not doing memory stuff here. While ConvertType
and ConvertTypeForMem are the same for pointers, it is best to just
use ConvertType. Thanks Eli!
llvm-svn: 135567
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp index a4992a4ea0a..6269c536241 100644 --- a/clang/lib/CodeGen/CGExpr.cpp +++ b/clang/lib/CodeGen/CGExpr.cpp @@ -174,7 +174,7 @@ namespace { } static llvm::Value * -CreateReferenceTemporary(CodeGenFunction& CGF, QualType Type, +CreateReferenceTemporary(CodeGenFunction &CGF, QualType Type, const NamedDecl *InitializedDecl) { if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(InitializedDecl)) { if (VD->hasGlobalStorage()) { |