diff options
| author | Steve Naroff <snaroff@apple.com> | 2009-03-05 15:22:01 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2009-03-05 15:22:01 +0000 |
| commit | 41d09add4fd46ef680ca81c489bbd374620f82f2 (patch) | |
| tree | 1c2e3d8213de001483a9ea0e19520cb6ecdebeba /clang/lib/Sema/Sema.h | |
| parent | 96f52eb13fcab129e8d6daecfba295c2e55ccbb8 (diff) | |
| download | bcm5719-llvm-41d09add4fd46ef680ca81c489bbd374620f82f2.tar.gz bcm5719-llvm-41d09add4fd46ef680ca81c489bbd374620f82f2.zip | |
Fix <rdar://problem/6144382> [sema] gcc inconsistency w.r.t. forward protocol declarations.
llvm-svn: 66161
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index de9b4cd013a..d7d80638d19 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -25,6 +25,7 @@ #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/OwningPtr.h" +#include "clang/AST/DeclObjC.h" #include <string> #include <vector> @@ -1678,6 +1679,11 @@ public: SourceLocation AtCompatibilityAliasLoc, IdentifierInfo *AliasName, SourceLocation AliasLocation, IdentifierInfo *ClassName, SourceLocation ClassLocation); + + void CheckForwardProtocolDeclarationForCircularDependency( + IdentifierInfo *PName, + SourceLocation &PLoc, SourceLocation PrevLoc, + const ObjCList<ObjCProtocolDecl> &PList); virtual DeclTy *ActOnStartProtocolInterface( SourceLocation AtProtoInterfaceLoc, |

