make style: don't indent preprocessor directives

This commit is contained in:
Philippe Teuwen 2019-04-07 12:10:51 +02:00
commit a7448f802f
4 changed files with 39 additions and 39 deletions

View file

@ -136,7 +136,7 @@ style:
-exec sh -c "echo >> {}" \;
# Apply astyle on *.c, *.h, *.cpp
find . \( -name "*.[ch]" -or -name "*.cpp" \) -exec astyle --formatted --mode=c --suffix=none \
--indent=spaces=4 --indent-switches --indent-preprocessor \
--indent=spaces=4 --indent-switches \
--keep-one-line-blocks --max-instatement-indent=60 \
--style=google --pad-oper --unpad-paren --pad-header \
--align-pointer=name {} \;