From: Mathieu Desnoyers Date: Wed, 30 May 2012 13:10:57 +0000 (-0400) Subject: Add coding style document X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=0c8a2a56138dc1e31e7cfa359cfc00f89f331fb7;hp=2667678617cac0d49c3f72343955827d29719ec6 Add coding style document Signed-off-by: Mathieu Desnoyers --- diff --git a/CodingStyle b/CodingStyle new file mode 100644 index 000000000..180d09799 --- /dev/null +++ b/CodingStyle @@ -0,0 +1,11 @@ +LTTng-Tools 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