From: Mathieu Desnoyers Date: Wed, 30 May 2012 13:10:57 +0000 (-0400) Subject: Add coding style document X-Git-Tag: v2.1.0-rc1~129 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0c8a2a56138dc1e31e7cfa359cfc00f89f331fb7;p=lttng-tools.git 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