/// ObjcProtocols - Keep track of all protocol declarations declared
/// with @protocol keyword, so that we can emit errors on duplicates and
- /// find the declarations when needded.
+ /// find the declarations when needed.
llvm::DenseMap<IdentifierInfo*, ObjcProtocolDecl*> ObjcProtocols;
// Enum values used by KnownFunctionIDs (see below).
ObjcCategory,
ObjcCategoryImpl,
ObjcImplementation,
+ ObjcProtocol,
// ScopedDecl
- ObjcProtocol,
// TypeDecl
ObjcInterface,
Typedef,
// of the class, to allow efficient classof.
NamedFirst = Field, NamedLast = ParmVar,
FieldFirst = Field, FieldLast = ObjcIvar,
- ScopedFirst = ObjcProtocol, ScopedLast = ParmVar,
+ ScopedFirst = ObjcInterface, ScopedLast = ParmVar,
TypeFirst = ObjcInterface, TypeLast = Class,
TagFirst = Enum , TagLast = Class,
RecordFirst = Struct , RecordLast = Class,