docs: split the CODING_STYLE doc into distinct groups
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 29 Aug 2019 16:04:32 +0000 (17:04 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 5 Sep 2019 13:41:00 +0000 (14:41 +0100)
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
CODING_STYLE.rst

index 39397f0f6f6a4cdc350f87cc326e2bbc82283a8c..427699e0e425431ea99d4046e40543bdcc22e9c5 100644 (file)
@@ -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
 ============================