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