diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-03 23:03:55 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-03 23:03:55 +0000 |
commit | ee3da87ce78c38a316fc157313ae9c62001058f9 (patch) | |
tree | ff92bd7b2ebb4b7f66b9ca706a9f45d55d6470b0 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 77b3be8ea370f9b589d939797a078c6ff63e8691 (diff) | |
download | bcm5719-llvm-ee3da87ce78c38a316fc157313ae9c62001058f9.tar.gz bcm5719-llvm-ee3da87ce78c38a316fc157313ae9c62001058f9.zip |
Add CodeGenFunction::ConvertTypeForMem forwarding function.
llvm-svn: 63678
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 4 |
1 files changed, 4 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); } |