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
//
//===----------------------------------------------------------------------===//
+#include "CGObjCRuntime.h"
#include "CodeGenFunction.h"
#include "CodeGenModule.h"
#include "clang/AST/Expr.h"
return CGM.GetAddrOfConstantCFString(S);
}
-
+CGObjCRuntime::~CGObjCRuntime() {}
#include "llvm/Support/LLVMBuilder.h"
#include "llvm/ADT/SmallVector.h"
-
-clang::CodeGen::CGObjCRuntime::~CGObjCRuntime() {}
-
namespace {
class CGObjCEtoile : public clang::CodeGen::CGObjCRuntime {
private:
#include "llvm/Support/LLVMBuilder.h"
#include "llvm/ADT/SmallVector.h"
-
-clang::CodeGen::CGObjCRuntime::~CGObjCRuntime() {}
-
namespace {
class CGObjCGNU : public clang::CodeGen::CGObjCRuntime {
private: