Update DeclKind enums to reflect ObjcProtocolDecl's inheritance change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42802 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-10-09 18:18:24 +00:00
Родитель 05672a0ce8
Коммит 4de884d3fb
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -89,7 +89,7 @@ class Sema : public Action {
/// 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).

Просмотреть файл

@ -42,8 +42,8 @@ public:
ObjcCategory,
ObjcCategoryImpl,
ObjcImplementation,
ObjcProtocol,
// ScopedDecl
ObjcProtocol,
// TypeDecl
ObjcInterface,
Typedef,
@ -68,7 +68,7 @@ public:
// 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,