Skip to content

Commit 716fc16

Browse files
authored
Merge pull request karlstav#292 from quantum5/clang-format
Use clang-format to ensure a consistent style
2 parents 7408c05 + 9d93deb commit 716fc16

File tree

16 files changed

+2811
-2829
lines changed

16 files changed

+2811
-2829
lines changed

.clang-format

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
BasedOnStyle: LLVM
2+
---
3+
Language: Cpp
4+
PointerAlignment: Right
5+
ColumnLimit: 100
6+
IndentWidth: 4

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Thank you for wanting to contribute to this project. In order to get the develop
99
5. Github task is updated and everyone is notified.
1010

1111
# Coding conventions
12-
* tab for indents
12+
* 4 spaces for indents
1313
* curly braces on same line as if, while, for statements
1414

1515
Generally please try to keep the style consistent with the code as it is.

0 commit comments

Comments
 (0)