]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Clarify naming conventions for enum and enum class values
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 3 Sep 2020 11:18:12 +0000 (13:18 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 3 Sep 2020 11:18:12 +0000 (13:18 +0200)
CONTRIBUTING.md

index 475e269c717720ba2804d46d1050b957a194b581..6831e02fa7e9522d59be8d591151839d9f258e15 100644 (file)
@@ -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.