diff options
Diffstat (limited to 'include/clang/AST/DeclObjC.h')
-rw-r--r-- | include/clang/AST/DeclObjC.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index 157544ff86..5f6bdec1cf 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -1077,9 +1077,6 @@ class ObjCProtocolDecl : public ObjCContainerDecl, DefinitionData *Data; - bool InitiallyForwardDecl : 1; - bool isForwardProtoDecl : 1; // declared with @protocol. - SourceLocation EndLoc; // marks the '>' or identifier. DefinitionData &data() const { @@ -1089,8 +1086,7 @@ class ObjCProtocolDecl : public ObjCContainerDecl, ObjCProtocolDecl(DeclContext *DC, IdentifierInfo *Id, SourceLocation nameLoc, SourceLocation atStartLoc, - ObjCProtocolDecl *PrevDecl, - bool isForwardDecl); + ObjCProtocolDecl *PrevDecl); void allocateDefinitionData(); @@ -1104,8 +1100,7 @@ public: IdentifierInfo *Id, SourceLocation nameLoc, SourceLocation atStartLoc, - ObjCProtocolDecl *PrevDecl, - bool isForwardDecl); + ObjCProtocolDecl *PrevDecl); const ObjCProtocolList &getReferencedProtocols() const { assert(hasDefinition() && "No definition available!"); @@ -1186,11 +1181,6 @@ public: /// \brief Starts the definition of this Objective-C protocol. void startDefinition(); - /// \brief True if it was initially a forward reference. - /// Differs with \see isForwardDecl in that \see isForwardDecl will change to - /// false when we see the definition, but this will remain true. - bool isInitiallyForwardDecl() const { return InitiallyForwardDecl; } - // Location information, modeled after the Stmt API. SourceLocation getLocStart() const { return getAtStartLoc(); } // '@'protocol SourceLocation getLocEnd() const { return EndLoc; } |