On Jan 23, 2013, at 7:23 AM, Dmitri Gribenko <[email protected]> wrote:
> Hello,
>
> 'libclang' only examines decls, it does not change them, so it makes
> sense to change return type of getCursorDecl() to 'const Decl*'. This
> requires quite a lot mechanical changes, so I decided to ask if we
> want such a cleanup. If we do want this -- I will split the patch
> before committing into 2 or 3 logical chunks.
LGTM! Also I don't really see much need for the extra work to split it.
Thanks!
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
> <getCursorDecl-return-const-Decl-v1.patch>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits