diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-01 20:30:41 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-01 20:30:41 +0000 |
commit | 32c17577303d28236489c9a6be250de376578636 (patch) | |
tree | 56c833f1697ff1cf930c1aa6a3305e7ba7ecbeaa /clang/lib/Serialization/ASTReaderDecl.cpp | |
parent | b910984458e74cdeec519371c38a9dc83424ec3f (diff) | |
download | bcm5719-llvm-32c17577303d28236489c9a6be250de376578636.tar.gz bcm5719-llvm-32c17577303d28236489c9a6be250de376578636.zip |
Wire up redeclaration chains for Objective-C protocols, so that both
forward declarations and definitions of an Objective-C protocol are
represented within a single chain of ObjCProtocolDecls.
llvm-svn: 147412
Diffstat (limited to 'clang/lib/Serialization/ASTReaderDecl.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTReaderDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTReaderDecl.cpp b/clang/lib/Serialization/ASTReaderDecl.cpp index 38b69413ac0..566b0e74f46 100644 --- a/clang/lib/Serialization/ASTReaderDecl.cpp +++ b/clang/lib/Serialization/ASTReaderDecl.cpp @@ -1950,7 +1950,7 @@ Decl *ASTReader::ReadDeclRecord(DeclID ID) { break; case DECL_OBJC_PROTOCOL: D = ObjCProtocolDecl::Create(Context, 0, 0, SourceLocation(), - SourceLocation(), 0); + SourceLocation(), 0, false); break; case DECL_OBJC_AT_DEFS_FIELD: D = ObjCAtDefsFieldDecl::Create(Context, 0, SourceLocation(), |