From 3c0bab6b1156447744d7d62772900e302838e71e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Wed, 20 Nov 2019 13:04:24 -0500 Subject: [PATCH] docs: split the CODING_STYLE doc into distinct groups Backports commit 9f8efa74d3f1cb9ceeee957ee382c2b4feb2ae30 from qemu --- qemu/CODING_STYLE.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qemu/CODING_STYLE.rst b/qemu/CODING_STYLE.rst index 39397f0f..427699e0 100644 --- a/qemu/CODING_STYLE.rst +++ b/qemu/CODING_STYLE.rst @@ -7,6 +7,9 @@ QEMU Coding Style Please use the script checkpatch.pl in the scripts directory to check patches before submitting. +Formatting and style +******************** + Whitespace ========== @@ -205,6 +208,9 @@ comment anyway.) Rationale: Consistency, and ease of visually picking out a multiline comment from the surrounding code. +Language usage +************** + Preprocessor ============ @@ -526,6 +532,9 @@ are still some caveats to beware of } +QEMU Specific Idioms +******************** + Error handling and reporting ============================