Skip to content

Commit b5723db

Browse files
DreamPearlscopeInfinity
authored andcommitted
Update CONTRIBUTING.md with code style guidelines.
1 parent 6b2efcd commit b5723db

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010

1111
#### Did you write a patch that fixes a bug?
1212

13+
* Please ensure code is formatted as per clang-format `{BasedOnStyle: llvm, IndentWidth: 4}` style.
14+
15+
```
16+
find . -iname *.h -o -iname *.c -o -iname *.cpp -o -iname *.hpp -o -iname *.tcc | xargs clang-format --style="{BasedOnStyle: llvm, IndentWidth: 4}" -i
17+
```
18+
1319
* Open a new GitHub pull request with the patch.
1420
1521
* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.

0 commit comments

Comments
 (0)