X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=CodingStyle;fp=CodingStyle;h=180d097994a450e512d9ec218fc22c7fe8f67c0d;hp=0000000000000000000000000000000000000000;hb=0c8a2a56138dc1e31e7cfa359cfc00f89f331fb7;hpb=2667678617cac0d49c3f72343955827d29719ec6 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