Set indentation to use spaces instead of tabs, add auto indentation script
This commit is contained in:
parent
8f67884119
commit
c1e5a7b172
2 changed files with 4 additions and 1 deletions
|
@ -63,4 +63,4 @@ SpacesInParentheses: false
|
||||||
SpacesInSquareBrackets: false
|
SpacesInSquareBrackets: false
|
||||||
Standard: Cpp11
|
Standard: Cpp11
|
||||||
TabWidth: 4
|
TabWidth: 4
|
||||||
UseTab: ForIndentation
|
UseTab: Never
|
||||||
|
|
3
format-code.sh
Executable file
3
format-code.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
find . '(' -name '*.h' -o -name '*.c' ')' -exec clang-format-3.7 -style=file -i '{}' \;
|
Loading…
Reference in a new issue