forked from OSchip/llvm-project
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:
parent
1d511d3bae
commit
43e0633048
|
@ -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() {}
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue