... | ... | @@ -998,8 +998,12 @@ The order of includes is just like an ordinary header file, except that we inclu |
|
|
|
|
|
* **Names of basic types and code modules**
|
|
|
* Use `ALL_CAPS_SNAKE_CASE` for
|
|
|
* Global and static global **Constants** (local variables that are const can be lowercase to differentiate between a global const variable vs. local const variable)
|
|
|
* Global and static global **constant scalar types** (local variables that are const can be lowercase to differentiate between a global const variable vs. local const variable)
|
|
|
* Enumeration values
|
|
|
* Use `lower_case_snake_case` for
|
|
|
* Non-const variables
|
|
|
* Local const variables
|
|
|
* Global and static global **constant aggregate types*** (struct/union/array)
|
|
|
* Code Module
|
|
|
* Precede with layer name
|
|
|
* Create a header file, source file, and its corresponding unit-test file
|
... | ... | |