From 5ad0f6778556535dca448e9d82e674d2d255ad06 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 1 Apr 2009 02:08:13 +0000 Subject: move trivial forwarding function inline. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68176 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/CodeGen/CodeGenModule.h') diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 4fbacdc25c..8c7571fd64 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -248,7 +248,10 @@ public: llvm::Constant *CreateRuntimeVariable(const llvm::Type *Ty, const char *Name); - void UpdateCompletedType(const TagDecl *D); + void UpdateCompletedType(const TagDecl *TD) { + // Make sure that this type is translated. + Types.UpdateCompletedType(TD); + } /// EmitConstantExpr - Try to emit the given expression as a /// constant; returns 0 if the expression cannot be emitted as a -- cgit v1.2.3-18-g5258