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.

llvm-svn: 49429
This commit is contained in:
Ted Kremenek 2008-04-09 15:51:31 +00:00
parent 1d511d3bae
commit 43e0633048
3 changed files with 2 additions and 7 deletions

View File

@ -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() {}

View File

@ -17,9 +17,6 @@
#include "llvm/Support/LLVMBuilder.h"
#include "llvm/ADT/SmallVector.h"
clang::CodeGen::CGObjCRuntime::~CGObjCRuntime() {}
namespace {
class CGObjCEtoile : public clang::CodeGen::CGObjCRuntime {
private:

View File

@ -17,9 +17,6 @@
#include "llvm/Support/LLVMBuilder.h"
#include "llvm/ADT/SmallVector.h"
clang::CodeGen::CGObjCRuntime::~CGObjCRuntime() {}
namespace {
class CGObjCGNU : public clang::CodeGen::CGObjCRuntime {
private: