On Mon, Jan 20, 2003 at 02:20:53PM -0500, William Cohen wrote:
> There should be be some mention why we want to avoid inline functions,
> particularly in headers. The example I can think immediately is inline
> functions in headers make it impossible to compile with code
> optimization turned off. This is one of the drawbacks with the Linux kernel.
The main reason is that it generally tends to code bloat for no good
reason.
> There should be some mention of indentation, tabs with each tab being 8
> column.
That's mentioned in Linus' coding doc which I refer to.
> Would it be possible to have gindent the formatting, e.g. two blank
> lines between functions and indentation and the like? This would make
There is -bap, don't know if it's possible to get the effect of -2bap.
indent will only be a partial solution anyway.
regards
john
--
"Anyone who quotes Rusty in their sig is an idiot."
- me
|