diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-11-20 16:53:33 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-11-20 16:53:33 +0100 |
commit | 87feae8a58bcda71b2e60a9156f678f3c4cec6d7 (patch) | |
tree | d0fb3837d45088dc0758eb27b8c575c2e6b2870c /.clang-tidy | |
parent | 4413a40440a48aa0f79ae4bec0adf3a68408a0e3 (diff) |
add clang-tidy and clang-format
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..2cca939 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,19 @@ +Checks: '-*,readability-identifier-naming' +CheckOptions: + - { key: readability-identifier-naming.EnumCase, value: lower_case } + - { key: readability-identifier-naming.EnumPrefix, value: cd_e_ } + - { key: readability-identifier-naming.FunctionCase, value: lower_case } + - { key: readability-identifier-naming.FunctionPrefix, value: cd_ } + - { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE } + - { key: readability-identifier-naming.GlobalConstantIgnoredRegexp, value: _.* } + - { key: readability-identifier-naming.GlobalConstantPrefix, value: CD_ } + - { key: readability-identifier-naming.GlobalVariableCase, value: lower_case } + - { key: readability-identifier-naming.GlobalVariableIgnoredRegexp, value: _.* } + - { key: readability-identifier-naming.GlobalVariablePrefix, value: g_cd_ } + - { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE } + - { key: readability-identifier-naming.MacroDefinitionIgnoredRegexp, value: _.* } + - { key: readability-identifier-naming.MacroDefinitionPrefix, value: CD_ } + - { key: readability-identifier-naming.StructCase, value: lower_case } + - { key: readability-identifier-naming.StructPrefix, value: cd_s_ } + +# vim: ft=yaml |