]> granicus.if.org Git - clang/commitdiff
Add CodeGenFunction::ConvertTypeForMem forwarding function.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 3 Feb 2009 23:03:55 +0000 (23:03 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 3 Feb 2009 23:03:55 +0000 (23:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63678 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h

index 866b8826241c198efda2dbac057eb38bc0b92382..58559e5249641fdf1593366a50c7ec084afac582 100644 (file)
@@ -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);
 }
index 0e6660c686a0280bc66bf407558b1cd08ce55465..ab145d7a1e92d205a369f983d8a4da99ea096fda 100644 (file)
@@ -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