[Qemu-devel] [PULL 4/4] docs: split the CODING_STYLE doc into distinct groups

Daniel P. Berrangé posted 4 patches 6 years, 5 months ago
[Qemu-devel] [PULL 4/4] docs: split the CODING_STYLE doc into distinct groups
Posted by Daniel P. Berrangé 6 years, 5 months ago
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 CODING_STYLE.rst | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/CODING_STYLE.rst b/CODING_STYLE.rst
index 39397f0f6f..427699e0e4 100644
--- a/CODING_STYLE.rst
+++ b/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
 ============================
 
-- 
2.21.0