From 950a9518b11b0966ba434d23fa6b98b4d810ff51 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Tue, 17 Nov 2009 19:33:30 +0000 Subject: Added block type introspection support. As per Fariborz's suggestion, committed now but can be reverted later if the used flag is problematic for Apple. llvm-svn: 89134 --- clang/lib/CodeGen/CGBlocks.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGBlocks.h') diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h index 3ab4efb71be..38e02a70a4e 100644 --- a/clang/lib/CodeGen/CGBlocks.h +++ b/clang/lib/CodeGen/CGBlocks.h @@ -55,7 +55,8 @@ public: BLOCK_HAS_CXX_OBJ = (1 << 26), BLOCK_IS_GC = (1 << 27), BLOCK_IS_GLOBAL = (1 << 28), - BLOCK_HAS_DESCRIPTOR = (1 << 29) + BLOCK_HAS_DESCRIPTOR = (1 << 29), + BLOCK_HAS_OBJC_TYPE = (1 << 30) }; }; -- cgit v1.2.3