Add clang-tidy naming checks for constexpr

This commit is contained in:
Gymnasiast committed 2026-05-08 21:52:52 +02:00
1 parent ab3eea631c
commit a0b1008e5a
1 file changed
+5
+5
View File
@@ -8,6 +8,7 @@ Checks: >
modernize-use-nullptr,
modernize-use-override,
readability-container-size-empty,
readability-identifier-naming,
readability-redundant-typename,
readability-uppercase-literal-suffix
CheckOptions:
@@ -15,5 +16,9 @@ CheckOptions:
value: 'validate_global_widx|NETWORK_STREAM_VERSION|SFL_ASSERT|SFL_CATCH'
- key: readability-uppercase-literal-suffix.NewSuffixes
value: 'u;L;uL;LL;uLL'
- key: readability-identifier-naming.ConstexprVariableCase
value: 'CamelCase'
- key: readability-identifier-naming.ConstexprVariablePrefix
value: 'k'
WarningsAsErrors: true
FormatStyle: 'file'