[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

Devang Patel dpatel at apple.com
Mon Sep 10 13:47:18 PDT 2007


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