diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-04-09 15:51:31 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-04-09 15:51:31 +0000 |
commit | 2979ec73b4f974d85f2ce84167712177a44c6f09 (patch) | |
tree | 83b8ac4d14aee0091055acd1a9ad332eba3e9a13 /lib/CodeGen/CGObjC.cpp | |
parent | 393be155a8e01106324485389b93d50c021868a5 (diff) |
The dtor CGObjCRuntime::~CGObjCRuntime() was implemented twice, once
in CGObjCGNU.cpp and once in CGObjCEtoile.cpp. Moved its definition to
CGObjC.cpp. This resolves a build error in Xcode, and also cleans things up.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49429 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | lib/CodeGen/CGObjC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp index 7894e83c05..299698f1f3 100644 --- a/lib/CodeGen/CGObjC.cpp +++ b/lib/CodeGen/CGObjC.cpp @@ -11,6 +11,7 @@ // //===----------------------------------------------------------------------===// +#include "CGObjCRuntime.h" #include "CodeGenFunction.h" #include "CodeGenModule.h" #include "clang/AST/Expr.h" @@ -23,4 +24,4 @@ llvm::Value *CodeGenFunction::EmitObjCStringLiteral(const ObjCStringLiteral *E){ return CGM.GetAddrOfConstantCFString(S); } - +CGObjCRuntime::~CGObjCRuntime() {} |