From b1e30e1e06fd7da5920f40823c7eaa5455318c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20Ikl=C3=A9?= Date: Sat, 20 Apr 2024 11:43:32 +0200 Subject: [PATCH] added naming constraints to .clangd --- .clangd | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.clangd b/.clangd index 41a9e00..e03f5a4 100644 --- a/.clangd +++ b/.clangd @@ -31,4 +31,15 @@ Diagnostics: - bugprone-sizeof-expression - bugprone-easily-swappable-parameters - bugprone-switch-missing-default-case - - modernize-macro-to-enum \ No newline at end of file + - 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_ \ No newline at end of file