From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17291 invoked by alias); 6 Jan 2011 08:32:36 -0000 Received: (qmail 17282 invoked by uid 22791); 6 Jan 2011 08:32:35 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 06 Jan 2011 08:32:31 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 8020D2BAC68 for ; Thu, 6 Jan 2011 03:32:29 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3UrwAFj8B0IW for ; Thu, 6 Jan 2011 03:32:29 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 12F9D2BAC56 for ; Thu, 6 Jan 2011 03:32:29 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 3CDA81459AD; Thu, 6 Jan 2011 12:32:23 +0400 (RET) Date: Thu, 06 Jan 2011 08:32:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: FYI: My Coding Style cheat-sheet on the Wiki Message-ID: <20110106083223.GC2361@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-01/txt/msg00117.txt.bz2 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