[cfe-commits] r41752 - in /cfe/trunk: AST/ASTContext.cpp AST/Decl.cpp AST/Type.cpp Parse/MinimalAction.cpp Parse/ParseObjc.cpp Parse/Parser.cpp Sema/Sema.h Sema/SemaDecl.cpp Sema/SemaType.cpp include/clang/AST/ASTContext.h include/clang/AST/Decl.h include/clang/AST/Type.h include/clang/Parse/Action.h include/clang/Parse/Parser.h test/Sema/cocoa.m

Chris Lattner clattner at apple.com
Fri Sep 28 16:28:59 PDT 2007


>
> The goal of this commit is to get just enough Sema support to  
> recognize Objective-C classes
> as types. That said, the AST nodes ObjcInterfaceDecl,  
> ObjcInterfaceType, and ObjcClassDecl are *very*
> preliminary.
>
> The good news is we no longer need -parse-noop (aka MinimalActions)  
> to parse cocoa.m.

Nice!


> +class ObjcInterfaceDecl : public TypeDecl {
> +class ObjcClassDecl : public TypeDecl {
> +class ObjcInterfaceType : public Type {

Please add some comments above these class, explaining what it does  
for those who are not as familiar with ObjC.  Maybe give a little  
example or something.

-Chris




More information about the cfe-commits mailing list