Skip to content

Commit

Permalink
added naming constraints to .clangd
Browse files Browse the repository at this point in the history
  • Loading branch information
likle committed Apr 20, 2024
1 parent 393f5e8 commit b1e30e1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .clangd
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,15 @@ Diagnostics:
- bugprone-sizeof-expression
- bugprone-easily-swappable-parameters
- bugprone-switch-missing-default-case
- modernize-macro-to-enum
- modernize-macro-to-enum

CheckOptions:
readability-identifier-naming.StructCase: lower_case
readability-identifier-naming.StructPrefix: cag_
readability-identifier-naming.FunctionCase: lower_case
readability-identifier-naming.FunctionPrefix: cag_
readability-identifier-naming.VariableCase: lower_case
readability-identifier-naming.MacroDefinitionCase: UPPER_CASE
readability-identifier-naming.MacroDefinitionPrefix: CAG_
readability-identifier-naming.EnumConstantCase: UPPER_CASE
readability-identifier-naming.EnumConstantPrefix: CAG_

0 comments on commit b1e30e1

Please sign in to comment.