[cfe-commits] r49107 - in /cfe/trunk: include/clang/AST/Decl.h include/clang/AST/DeclObjC.h include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h lib/Sema/Sema.h lib/Sema/SemaDecl.cpp lib/Sema/SemaDeclObjC.cpp test/Sema/check-dup-objc-decls-1.m

Fariborz Jahanian fjahanian at apple.com
Wed Apr 2 13:35:18 PDT 2008


On Apr 2, 2008, at 11:30 AM, Steve Naroff wrote:

> Author: snaroff
> Date: Wed Apr  2 13:30:49 2008
> New Revision: 49107
>
> URL: http://llvm.org/viewvc/llvm-project?rev=49107&view=rev
> Log:
> Change ObjCInterfaceDecl to inherit from NamedDecl (not TypeDecl).  
> While ObjCInterfaceDecl is arguably a TypeDecl, it isn't a  
> ScopedDecl. Since TypeDecl's are scoped, it makes sense to simply  
> treat

Can't it  be a TypeDecl of a ScopedDecl of the global scope ?

- Fariborz

>



More information about the cfe-commits mailing list