move trivial forwarding function inline.
llvm-svn: 68176
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 4fbacdc..8c7571f 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -248,7 +248,10 @@
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