aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-01 02:08:13 +0000
committerChris Lattner <sabre@nondot.org>2009-04-01 02:08:13 +0000
commit5ad0f6778556535dca448e9d82e674d2d255ad06 (patch)
treed41f0510364687e94201388adbcf2806f9bbc5c7 /lib/CodeGen/CodeGenModule.h
parent09dc6660487fc2f4a4bb2032e30123d3e0da7230 (diff)
move trivial forwarding function inline.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h5
1 files changed, 4 insertions, 1 deletions
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