Accessor macro wrappers removal [Re: [patch] static_kind -> bit0, bit1]

Jan Kratochvil
2008-09-26T05:06:14Z

On Sat, 20 Sep 2008 00:12:21 +0200, Joel Brobecker wrote:
> > Also I do not understand why exist all the macros like this one at all:
> > #define TYPE_MAIN_TYPE(thistype) (thistype)->main_type
> > Why we cannot use it expanded? This way it is always one (or more)
> > "tags"-jump (VIM ctrl-]) indirections while navigating the source files.
>
> Personally, I find them to be very useful to quickly find who is using
> field "main_type" in struct type.

How does it differ from
grep -- '->main_type\>' *.[ch]
?

[ other part of the mail left after update of the patch ]

Regards,
Jan