[cfe-commits] r41801 - in /cfe/trunk: AST/Decl.cpp Parse/ParseObjc.cpp Sema/Sema.h Sema/SemaDecl.cpp include/clang/AST/Decl.h include/clang/Parse/Action.h include/clang/Parse/Parser.h

Fariborz Jahanian fjahanian at apple.com
Mon Sep 10 13:53:13 PDT 2007


1. I am following the standard practice in clang (for example, see  
Sema::ParseRecordBody).

2. This routine is just a placeholder for now.

- Fariborz

On Sep 10, 2007, at 1:47 PM, Devang Patel wrote:

>
> On Sep 10, 2007, at 1:33 PM, Fariborz Jahanian wrote:
>
>> +  /// Insert collected methods declarations into the @interface  
>> object.
>> +  Actions.ObjcAddMethodsToClass(interfaceDecl, &allMethods[0],  
>> allMethods.size());
> ...
>> +void Sema::ObjcAddMethodsToClass(DeclTy *ClassDecl,
>> +				 DeclTy **allMethods, unsigned allNum) {
>
> Is there a reason to not pass SmallVector reference directly ?
> -
> Devang




More information about the cfe-commits mailing list