]> granicus.if.org Git - clang/commitdiff
Fix <rdar://problem/6435842> clang ObjC rewriter: #include Block.h, Block_private...
authorSteve Naroff <snaroff@apple.com>
Thu, 11 Dec 2008 19:43:14 +0000 (19:43 +0000)
committerSteve Naroff <snaroff@apple.com>
Thu, 11 Dec 2008 19:43:14 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60890 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteObjC.cpp

index e071cb904ed979689b6dc28069d63606b6030e25..dd04a12d357afebc49307f25624d3b71b3611372 100644 (file)
@@ -537,10 +537,6 @@ void RewriteObjC::Initialize(ASTContext &context) {
   Preamble += "  int Size;\n";
   Preamble += "  void *FuncPtr;\n";
   Preamble += "};\n";
-  Preamble += "enum {\n";
-  Preamble += "  BLOCK_HAS_COPY_DISPOSE = (1<<25),\n";
-  Preamble += "  BLOCK_IS_GLOBAL = (1<<28)\n";
-  Preamble += "};\n";
   Preamble += "// Runtime copy/destroy helper functions\n";
   Preamble += "__OBJC_RW_STATICIMPORT void _Block_copy_assign(void *, void *);\n";
   Preamble += "__OBJC_RW_STATICIMPORT void _Block_byref_assign_copy(void *, void *);\n";