summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.h
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2009-11-17 19:33:30 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2009-11-17 19:33:30 +0000
commit950a9518b11b0966ba434d23fa6b98b4d810ff51 (patch)
tree29e52e9d6c6da3b6ccb4cc6d684c0dd2239e7221 /clang/lib/CodeGen/CGBlocks.h
parentcb1b7bf79dd2ab190606f809ac373c0b6d2e4d36 (diff)
downloadbcm5719-llvm-950a9518b11b0966ba434d23fa6b98b4d810ff51.tar.gz
bcm5719-llvm-950a9518b11b0966ba434d23fa6b98b4d810ff51.zip
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
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r--clang/lib/CodeGen/CGBlocks.h3
1 files changed, 2 insertions, 1 deletions
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)
};
};
OpenPOWER on IntegriCloud