This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: coding style, continuing education
- To: nix at esperi dot demon dot co dot uk
- Subject: Re: coding style, continuing education
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Fri, 19 Jan 01 05:46:33 EST
- Cc: gcc at gcc dot gnu dot org
with a thoroughly misleading comment above it (is that what the entire
conditional does? no, it's what the first clause does),
That raises an interesting issue: where *does* the comment for what the first
clause does go? I've been putting it before the entire statement, but,
as you point out, that's not ideal. Should we be doing something like:
/* This tells when we need to .... */
if (
/* We need to if ... */
<conditional expression>
/* ... or if ... */
<next conditional expression>