Skip to content

Commit

Permalink
Update CodingStyle.md
Browse files Browse the repository at this point in the history
Signed-off-by: Knute Lingaard <knute.lingaard@sifive.com>
  • Loading branch information
Knute Lingaard authored Sep 7, 2023
1 parent 999286d commit b7c0d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CodingStyle.md
Original file line number Diff line number Diff line change
@@ -42,6 +42,7 @@ If code is found to violate these rules -- please fix it!
1. Do not go nuts with `auto`. This: `auto foo(const auto & in)` is irritating
1. NO TABS. Ever. Never ever.
1. Spaces are 4
1. Delete all trailing whitespace
1. Do not use single letter variable names. Not only are these NOT
descriptive, searching for their use in a function/class is difficult.
1. Do not use Raw POD types (int, char). Instead use [fixed
@@ -131,4 +132,4 @@ namespace olympia
sparta::Counter my_stat_; // Named my_stat in the report
};
```
```

0 comments on commit b7c0d13

Please sign in to comment.