From baf9120997e4749cc8c980281ae0b46c84774a1d Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Thu, 3 Sep 2020 13:18:12 +0200 Subject: [PATCH] Clarify naming conventions for enum and enum class values --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 475e269c7..6831e02fa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -66,8 +66,8 @@ you don't run clang-format then the ccache authors have to do it for you. Please follow these conventions: * Use `UpperCamelCase` for types (e.g. classes and structs) and namespaces. -* Use `UPPER_CASE` names for macros. -* Use `snake_case` for other names (functions, variables, enum values, etc.). +* Use `UPPER_CASE` names for macros and (non-class )enum values. +* Use `snake_case` for other names (functions, variables, enum class values, etc.). * Use an `m_` prefix for non-public member variables. * Use a `g_` prefix for global mutable variables. * Use a `k_` prefix for global constants. -- 2.47.3