diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-01 02:08:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-01 02:08:13 +0000 |
commit | 648390895746f497cd48a34d1f833c69ce3693cd (patch) | |
tree | 52f369c935616f4d2ef929b07ea6fd1f6178cd69 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 7e06443d44d75abea1c5f1d7036b62b1cc8fbee2 (diff) | |
download | bcm5719-llvm-648390895746f497cd48a34d1f833c69ce3693cd.tar.gz bcm5719-llvm-648390895746f497cd48a34d1f833c69ce3693cd.zip |
move trivial forwarding function inline.
llvm-svn: 68176
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 4fbacdc25c9..8c7571fd642 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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 |