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 | |
parent | 7e06443d44d75abea1c5f1d7036b62b1cc8fbee2 (diff) | |
download | bcm5719-llvm-648390895746f497cd48a34d1f833c69ce3693cd.tar.gz bcm5719-llvm-648390895746f497cd48a34d1f833c69ce3693cd.zip |
move trivial forwarding function inline.
llvm-svn: 68176
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 6 | ||||
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 4cee5c8f373..59876516aa8 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -923,12 +923,6 @@ void CodeGenModule::EmitAliasDefinition(const ValueDecl *D) { SetGlobalValueAttributes(D, false, false, GA, true); } -void CodeGenModule::UpdateCompletedType(const TagDecl *TD) { - // Make sure that this type is translated. - Types.UpdateCompletedType(TD); -} - - /// getBuiltinLibFunction - Given a builtin id for a function like /// "__builtin_fabsf", return a Function* for "fabsf". llvm::Value *CodeGenModule::getBuiltinLibFunction(unsigned BuiltinID) { 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 |