This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: PR 5942


>>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:

Kaveh> Please consider using ARRAY_SIZE(ctxp->modifier_ctx) (defined in
Kaveh> libiberty.h) instead of an explicit sizeof() / sizeof().
Kaveh> IMHO, ARRAY_SIZE is much more readable.

On the branch I used what appeared to be the prevailing local style
(i.e., sizeof/sizeof was used in the same function).
On the trunk I used ARRAY_SIZE.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]