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 | dac168d2a6228f77ac6defb929546df7d820b3b0 (patch) | |
tree | 7271fc09384cc8f5e16d4c8200df13f834a3274f /clang/lib/Sema/SemaDeclObjC.cpp | |
parent | 1c7b885f5fb6fe87f7f8885f52ad51c36caf614a (diff) | |
download | bcm5719-llvm-dac168d2a6228f77ac6defb929546df7d820b3b0.tar.gz bcm5719-llvm-dac168d2a6228f77ac6defb929546df7d820b3b0.zip |
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.
llvm-svn: 68894
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp index 90a6bee819d..49433b5b7b0 100644 --- a/clang/lib/Sema/SemaDeclObjC.cpp +++ b/clang/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, |