Skip to content
GitLab
Explore
Sign in
Podhorszki, Norbert
ADIOS2
Wiki
Clang Format Text Style
Clang Format Text Style
· Changes
Page history
Updated Clang Format Text Style (markdown)
authored
May 04, 2017
by
williamfgc
Hide whitespace changes
Inline
Side-by-side
Clang-Format-Text-Style.md
View page @
b72fb14f
...
...
@@ -2,12 +2,12 @@
*
Lines no longer than 80 characters.
*
Always use braces { and }, even for 1 line
<code>
if
</code>
blocks.
*
_Don't_
```
```
cpp
if
(
number
!=
1
)
number
=
1
;
```
*
_Do_
```
```
cpp
if
(
number
!=
1
)
{
number
=
1
;
...
...