From: Mathieu Desnoyers Date: Wed, 30 May 2012 13:09:22 +0000 (-0400) Subject: Add coding style document X-Git-Tag: v1.0.0-rc4~2 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=2c09fbd170dab416b779a13957da15e63e10d9c5;ds=sidebyside Add coding style document Signed-off-by: Mathieu Desnoyers --- diff --git a/CodingStyle b/CodingStyle new file mode 100644 index 00000000..c55104c9 --- /dev/null +++ b/CodingStyle @@ -0,0 +1,11 @@ +Babeltrace Coding Style + +The coding style used for this project follows the the Linux kernel +guide lines, except that brackets "{", "}" should typically be used even +for single-line if/else statements. Please refer to: + +- Linux kernel Documentation/CodingStyle document for details, +- Linux kernel scripts/checkpatch.pl for a script which verify the patch + coding style. + +Mathieu Desnoyers, May 30, 2012