summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/HACKING.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/HACKING.txt b/docs/HACKING.txt
index ba080f0f..6f34b383 100644
--- a/docs/HACKING.txt
+++ b/docs/HACKING.txt
@@ -13,6 +13,8 @@ necessary.
if (condition) {
}
+ else {
+ }
for (init; condition; step) {
}
@@ -26,6 +28,9 @@ necessary.
void function(param1, param2) {
}
+ class TheClass : public TheSubclass {
+ };
+
Ending parenthesis may be on next line for clarity.
* Use of whitespace example: