Skip to content

Commit 9f8efa7

Browse files
committed
docs: split the CODING_STYLE doc into distinct groups
Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Daniel P. Berrangé <[email protected]>
1 parent 821f296 commit 9f8efa7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CODING_STYLE.rst

+9
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ QEMU Coding Style
77
Please use the script checkpatch.pl in the scripts directory to check
88
patches before submitting.
99

10+
Formatting and style
11+
********************
12+
1013
Whitespace
1114
==========
1215

@@ -205,6 +208,9 @@ comment anyway.)
205208
Rationale: Consistency, and ease of visually picking out a multiline
206209
comment from the surrounding code.
207210

211+
Language usage
212+
**************
213+
208214
Preprocessor
209215
============
210216

@@ -526,6 +532,9 @@ are still some caveats to beware of
526532
}
527533
528534
535+
QEMU Specific Idioms
536+
********************
537+
529538
Error handling and reporting
530539
============================
531540

0 commit comments

Comments
 (0)