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/Sema/SemaDeclObjC.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/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 90a6bee819..49433b5b7b 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -503,7 +503,7 @@ void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT, } } -/// ActOnForwardProtocolDeclaration - +/// ActOnForwardProtocolDeclaration - Handle @protocol foo; Action::DeclPtrTy Sema::ActOnForwardProtocolDeclaration(SourceLocation AtProtocolLoc, const IdentifierLocPair *IdentList, |