mirror of
https://github.com/curl/curl.git
synced 2026-07-17 12:37:17 +03:00
CODE_STYLE: add example for indent style as well
This commit is contained in:
parent
c5c7a3e40f
commit
2ad3cf2fba
1 changed files with 6 additions and 0 deletions
|
|
@ -35,6 +35,12 @@ See the INTERNALS document on how we name non-exported library-global symbols.
|
|||
We use only spaces for indentation, never TABs. We use two spaces for each new
|
||||
open brace.
|
||||
|
||||
if(something_is_true) {
|
||||
while(second_statement == fine) {
|
||||
moo();
|
||||
}
|
||||
}
|
||||
|
||||
## Comments
|
||||
|
||||
Since we write C89 code, `//` comments are not allowed. They weren't
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue