summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-03 23:03:55 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-03 23:03:55 +0000
commitee3da87ce78c38a316fc157313ae9c62001058f9 (patch)
treeff92bd7b2ebb4b7f66b9ca706a9f45d55d6470b0 /clang
parent77b3be8ea370f9b589d939797a078c6ff63e8691 (diff)
downloadbcm5719-llvm-ee3da87ce78c38a316fc157313ae9c62001058f9.tar.gz
bcm5719-llvm-ee3da87ce78c38a316fc157313ae9c62001058f9.zip
Add CodeGenFunction::ConvertTypeForMem forwarding function.
llvm-svn: 63678
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp4
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 866b8826241..58559e52496 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -52,6 +52,10 @@ llvm::Value *CodeGenFunction::GetAddrOfLocalVar(const VarDecl *VD)
return LocalDeclMap[VD];
}
+const llvm::Type *CodeGenFunction::ConvertTypeForMem(QualType T) {
+ return CGM.getTypes().ConvertTypeForMem(T);
+}
+
const llvm::Type *CodeGenFunction::ConvertType(QualType T) {
return CGM.getTypes().ConvertType(T);
}
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 0e6660c686a..ab145d7a1e9 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -228,6 +228,7 @@ public:
/// return the given temporary.
void EmitFunctionEpilog(const CGFunctionInfo &FI, llvm::Value *ReturnValue);
+ const llvm::Type *ConvertTypeForMem(QualType T);
const llvm::Type *ConvertType(QualType T);
/// LoadObjCSelf - Load the value of self. This function is only
OpenPOWER on IntegriCloud