diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-17 21:21:00 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-17 21:21:00 +0200 |
commit | 365dcc18fbd98645585cdbe009f537ecdaa90c1a (patch) | |
tree | 078c14da20867e177d658ae4cc517b81ab9ad1aa /.clang-tidy | |
parent | f00fca5f6f9751b16d868f52bda908c7b4704457 (diff) |
WIP sercomm implementation
- moved some module-specific constants to their respective header files
- changed .clang-tidy to ignore global private global constants
(starting with `_`)
- suppressed some GCC warnings in bin.c and all pololu library warnings
- added function signatures for sercomm protocol data generators
- added endianness check in setup.c
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy index 054a943..4c8496f 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,16 +1,18 @@ Checks: '-*,readability-identifier-naming' CheckOptions: + - { key: readability-identifier-naming.EnumCase, value: lower_case } + - { key: readability-identifier-naming.EnumPrefix, value: w2_e_ } - { key: readability-identifier-naming.FunctionCase, value: lower_case } - { key: readability-identifier-naming.FunctionPrefix, value: w2_ } - - { key: readability-identifier-naming.GlobalVariableCase, value: lower_case } - - { key: readability-identifier-naming.GlobalVariablePrefix, value: g_w2_ } - { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE } + - { key: readability-identifier-naming.GlobalConstantIgnoredRegexp, value: _.* } - { key: readability-identifier-naming.GlobalConstantPrefix, value: W2_ } + - { key: readability-identifier-naming.GlobalVariableCase, value: lower_case } + - { key: readability-identifier-naming.GlobalVariableIgnoredRegexp, value: _.* } + - { key: readability-identifier-naming.GlobalVariablePrefix, value: g_w2_ } - { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE } - { key: readability-identifier-naming.MacroDefinitionPrefix, value: W2_ } - { key: readability-identifier-naming.StructCase, value: lower_case } - { key: readability-identifier-naming.StructPrefix, value: w2_s_ } - - { key: readability-identifier-naming.EnumCase, value: lower_case } - - { key: readability-identifier-naming.EnumPrefix, value: w2_e_ } # vim: ft=yaml |