From 3ed0df070e431ce9f5ca01600c1729e6dc3a40bc Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Mon, 21 Dec 2015 19:43:25 +0000 Subject: Revert "[CodeGen] Fix assignments of inline layouts into the byref structure" This reverts commit r256185. It breaks CodeGenObjC/fragile-arc.m. llvm-svn: 256186 --- clang/lib/CodeGen/CGObjCRuntime.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'clang/lib/CodeGen/CGObjCRuntime.h') diff --git a/clang/lib/CodeGen/CGObjCRuntime.h b/clang/lib/CodeGen/CGObjCRuntime.h index 28d88dd10be..9b0706770aa 100644 --- a/clang/lib/CodeGen/CGObjCRuntime.h +++ b/clang/lib/CodeGen/CGObjCRuntime.h @@ -275,11 +275,8 @@ public: const CodeGen::CGBlockInfo &blockInfo) = 0; virtual llvm::Constant *BuildRCBlockLayout(CodeGen::CodeGenModule &CGM, const CodeGen::CGBlockInfo &blockInfo) = 0; - - /// Returns an i8* which points to the byref layout information. virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM, QualType T) = 0; - virtual llvm::GlobalVariable *GetClassGlobal(const std::string &Name, bool Weak = false) = 0; -- cgit v1.2.3