зеркало из https://github.com/microsoft/clang-1.git
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:
Родитель
05672a0ce8
Коммит
4de884d3fb
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче