[cfe-commits] r49429 - in /cfe/trunk/lib/CodeGen: CGObjC.cpp CGObjCEtoile.cpp CGObjCGNU.cpp
Ted Kremenek
kremenek at apple.com
Wed Apr 9 08:51:32 PDT 2008
Author: kremenek
Date: Wed Apr 9 10:51:31 2008
New Revision: 49429
URL: http://llvm.org/viewvc/llvm-project?rev=49429&view=rev
Log:
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.
Modified:
cfe/trunk/lib/CodeGen/CGObjC.cpp
cfe/trunk/lib/CodeGen/CGObjCEtoile.cpp
cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjC.cpp?rev=49429&r1=49428&r2=49429&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjC.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjC.cpp Wed Apr 9 10:51:31 2008
@@ -11,6 +11,7 @@
//
//===----------------------------------------------------------------------===//
+#include "CGObjCRuntime.h"
#include "CodeGenFunction.h"
#include "CodeGenModule.h"
#include "clang/AST/Expr.h"
@@ -23,4 +24,4 @@
return CGM.GetAddrOfConstantCFString(S);
}
-
+CGObjCRuntime::~CGObjCRuntime() {}
Modified: cfe/trunk/lib/CodeGen/CGObjCEtoile.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCEtoile.cpp?rev=49429&r1=49428&r2=49429&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCEtoile.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCEtoile.cpp Wed Apr 9 10:51:31 2008
@@ -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:
Modified: cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCGNU.cpp?rev=49429&r1=49428&r2=49429&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCGNU.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCGNU.cpp Wed Apr 9 10:51:31 2008
@@ -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:
More information about the cfe-commits
mailing list