2016-06-07 12:51:42 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
clang-tidy \
|
|
|
|
-fix \
|
|
|
|
-fix-errors \
|
|
|
|
-header-filter=.* \
|
|
|
|
--checks=readability-braces-around-statements,misc-macro-parentheses \
|
|
|
|
*.c \
|
2016-09-29 12:50:08 -04:00
|
|
|
-- -DNRF51 -I. -I ../../../nrf-sdk/6.1/nrf51822/Include -I ../../../nrf-sdk/6.1/nrf51822/Include/gcc
|
2016-06-07 12:51:42 -04:00
|
|
|
clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false}" -i *.{h,c}
|