Set indentation to use spaces instead of tabs, add auto indentation script
o9000 mrovi9000@gmail.com
2 files changed,
4 insertions(+),
1 deletions(-)
M
.clang-format
→
.clang-format
@@ -63,4 +63,4 @@ SpacesInParentheses: false
SpacesInSquareBrackets: false Standard: Cpp11 TabWidth: 4 -UseTab: ForIndentation +UseTab: Never
A
format-code.sh
@@ -0,0 +1,3 @@
+#!/bin/bash + +find . '(' -name '*.h' -o -name '*.c' ')' -exec clang-format-3.7 -style=file -i '{}' \;