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 | 61d6852f67b4416bb96f1613c1aa589c8cbc17db (patch) | |
tree | 4bb51da35af40125e88087176d7f93ef77648803 /lib/Sema/Sema.h | |
parent | 00470a1c4c44c5ed26bad9a38b4d3904b02d7a28 (diff) |
Fix <rdar://problem/6144382> [sema] gcc inconsistency w.r.t. forward protocol declarations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index de9b4cd013..d7d80638d1 100644 --- a/lib/Sema/Sema.h +++ b/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, |