diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-12 08:43:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-12 08:43:13 +0000 |
commit | 58fe03bc8083b92b606c31431feb361c45266cc2 (patch) | |
tree | 24ca5eff8f856841055217f3c9f8f6d564399337 /lib/Parse/ParseObjc.cpp | |
parent | cf70641c289748d8fc9c03e82cbf7c6a52e05e32 (diff) |
Fix rdar://6771034: don't warn on use of forward declared protocol in protocol
list of another protocol definition. This warning is very noisy and GCC doesn't
produce it so existing code doesn't expect it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseObjc.cpp')
-rw-r--r-- | lib/Parse/ParseObjc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseObjc.cpp b/lib/Parse/ParseObjc.cpp index 239d35f806..b4f417a15d 100644 --- a/lib/Parse/ParseObjc.cpp +++ b/lib/Parse/ParseObjc.cpp @@ -982,7 +982,7 @@ Parser::DeclPtrTy Parser::ParseObjCAtProtocolDeclaration(SourceLocation AtLoc, llvm::SmallVector<DeclPtrTy, 8> ProtocolRefs; if (Tok.is(tok::less) && - ParseObjCProtocolReferences(ProtocolRefs, true, EndProtoLoc)) + ParseObjCProtocolReferences(ProtocolRefs, false, EndProtoLoc)) return DeclPtrTy(); DeclPtrTy ProtoType = |