[cfe-commits] r42802 - in /cfe/trunk: Sema/Sema.h include/clang/AST/Decl.h
Chris Lattner
sabre at nondot.org
Tue Oct 9 11:18:24 PDT 2007
Author: lattner
Date: Tue Oct 9 13:18:24 2007
New Revision: 42802
URL: http://llvm.org/viewvc/llvm-project?rev=42802&view=rev
Log:
Update DeclKind enums to reflect ObjcProtocolDecl's inheritance change.
Modified:
cfe/trunk/Sema/Sema.h
cfe/trunk/include/clang/AST/Decl.h
Modified: cfe/trunk/Sema/Sema.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Sema/Sema.h?rev=42802&r1=42801&r2=42802&view=diff
==============================================================================
--- cfe/trunk/Sema/Sema.h (original)
+++ cfe/trunk/Sema/Sema.h Tue Oct 9 13:18:24 2007
@@ -89,7 +89,7 @@
/// 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).
Modified: cfe/trunk/include/clang/AST/Decl.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Decl.h?rev=42802&r1=42801&r2=42802&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Tue Oct 9 13:18:24 2007
@@ -42,8 +42,8 @@
ObjcCategory,
ObjcCategoryImpl,
ObjcImplementation,
+ ObjcProtocol,
// ScopedDecl
- ObjcProtocol,
// TypeDecl
ObjcInterface,
Typedef,
@@ -68,7 +68,7 @@
// 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,
More information about the cfe-commits
mailing list