aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-10 13:12:41 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-10 13:12:41 +0200
commit1805d0b3cf4d838f7d3e06489ab106fb2b2fc3de (patch)
tree4f9f3048422e9f24b401ae5d9a3c5536d14bd338
parent071db248789bf57ae0b489610b2574da816e649a (diff)
clang-tidy config done
-rw-r--r--.clang-tidy17
1 files changed, 12 insertions, 5 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 47e256e..054a943 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,9 +1,16 @@
Checks: '-*,readability-identifier-naming'
CheckOptions:
- - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- - { key: readability-identifier-naming.StructCase, value: lower_case }
- - { key: readability-identifier-naming.FunctionCase, value: lower_case }
- - { key: readability-identifier-naming.VariableCase, value: lower_case }
- - { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
+ - { 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.GlobalConstantPrefix, value: 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