On Sep 24, 2012, at 15:00 , Fariborz Jahanian <[email protected]> wrote:

> 
> def err_misplaced_ivar : Error<
> -  "ivars may not be placed in %select{categories|class extension}0">;
> +  "instance variable may not be placed in %select{categories|class 
> extension}0">;


> def err_arc_autoreleasing_var : Error<
> -  "%select{__block variables|global variables|fields|ivars}0 cannot have "
> +  "%select{__block variables|global variables|fields|instance variable}0 
> cannot have "
>   "__autoreleasing ownership">;

I'm not sure if the plural was changed to singular intentionally here, but I 
want to say I prefer the plural. In the singular form, I feel like there's 
something wrong with this particular instance variable that maybe I could fix, 
but what the warning is trying to say is that there's a rule that applies to 
all instance variables.

Jordan
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to