From 46932221f912f6ad439a99fb9619e0554a62b4f7 Mon Sep 17 00:00:00 2001 From: Sergio Date: Fri, 18 Jul 2025 21:40:28 +0200 Subject: [PATCH] actualitzat .clang-tidy --- .clang-tidy | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index a4be83e..1fc8f8e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -28,6 +28,14 @@ CheckOptions: - { key: readability-identifier-naming.ConstexprVariableCase, value: UPPER_CASE } - { key: readability-identifier-naming.LocalConstantCase, value: UPPER_CASE } + # Constantes estáticas dentro de clases con sufijo _ + - { key: readability-identifier-naming.ClassConstantCase, value: UPPER_CASE } + - { key: readability-identifier-naming.ClassConstantSuffix, value: _ } + + # Constexpr variables con sufijo _ + - { key: readability-identifier-naming.ConstexprVariableCase, value: UPPER_CASE } + - { key: readability-identifier-naming.ConstexprVariableSuffix, value: _ } + # Clases, structs y enums en CamelCase - { key: readability-identifier-naming.ClassCase, value: CamelCase } - { key: readability-identifier-naming.StructCase, value: CamelCase }