summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReader.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-08-09 16:24:26 +0000
committerDouglas Gregor <dgregor@apple.com>2011-08-09 16:24:26 +0000
commit7874310ba116a6d100316afa5093a2698aca7de5 (patch)
tree511b6974a54b1df9388e490a461d807a01ce754a /clang/lib/Serialization/ASTReader.cpp
parentabf4e0dfcdd8447bc377a93eea61dd3142f10516 (diff)
downloadbcm5719-llvm-7874310ba116a6d100316afa5093a2698aca7de5.tar.gz
bcm5719-llvm-7874310ba116a6d100316afa5093a2698aca7de5.zip
Don't serialize the block descriptor or block extended descriptor
types to AST files; they're only used by debug info generation anyway, and shouldn't ever exist in the AST anyway. llvm-svn: 137122
Diffstat (limited to 'clang/lib/Serialization/ASTReader.cpp')
-rw-r--r--clang/lib/Serialization/ASTReader.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Serialization/ASTReader.cpp b/clang/lib/Serialization/ASTReader.cpp
index d5cb6a6cedf..9ca5211d9f8 100644
--- a/clang/lib/Serialization/ASTReader.cpp
+++ b/clang/lib/Serialization/ASTReader.cpp
@@ -3033,11 +3033,6 @@ void ASTReader::InitializeContext(ASTContext &Ctx) {
if (unsigned ObjCClassRedef
= SpecialTypes[SPECIAL_TYPE_OBJC_CLASS_REDEFINITION])
Context->ObjCClassRedefinitionType = GetType(ObjCClassRedef);
- if (unsigned String = SpecialTypes[SPECIAL_TYPE_BLOCK_DESCRIPTOR])
- Context->setBlockDescriptorType(GetType(String));
- if (unsigned String
- = SpecialTypes[SPECIAL_TYPE_BLOCK_EXTENDED_DESCRIPTOR])
- Context->setBlockDescriptorExtendedType(GetType(String));
if (unsigned ObjCSelRedef
= SpecialTypes[SPECIAL_TYPE_OBJC_SEL_REDEFINITION])
Context->ObjCSelRedefinitionType = GetType(ObjCSelRedef);
OpenPOWER on IntegriCloud