Re: FYI: My Coding Style cheat-sheet on the Wiki

Hui Zhu
2011-01-06T12:38:06Z

I suggest we make a script that can check the format of the patch and
tell which line's format is not right. Like in Linux kernel
scripts/checkpatch.pl

Thanks,
Hui

On Thu, Jan 6, 2011 at 16:32, Joel Brobecker <brobecker@adacore.com> wrote:
> This is something I started writing down in a text file, and thought
> I'd share. This is unofficial, and incomplete, and there is a big
> disclaimer about it.
>
> The intention for this document is to be a cheat-sheet in the situations
> where you know there is a rule about something, but can't remember what
> exactly it says. Instead of having to grep 2 documents (the GCS, and
> our GDB Internal's manual), the cheat-sheet is meant to be a possible
> help.
>
> I hope that it helps others.  Everyone should feel free to update
> and enhance this document, if they find it useful.  I hope that
> the cheap-to-update simplicity of the Wiki will encourage anyone
> to do so.
>
> http://sourceware.org/gdb/wiki/JoelsCodingStyleCheatSheet
>
> This page is also accessible from the HomePage.
>
> --
> Joel
>