Use clang-format (>= 9.0) with options file .clang-format under the root directory of this project.
-
File name:
- One file one class, and use the class name as file name.
- header files end with .hh and source files end with .cc.
-
Variable name:
- Constant variables (include enum values) start with k followed by a capital.
- Global variables start with g followed by a capital.
- private variables end with _.