Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 512 Bytes

CONTRIBUTING.md

File metadata and controls

18 lines (12 loc) · 512 Bytes

Contributing guidelines

Style rules

Coding style

Use clang-format (>= 9.0) with options file .clang-format under the root directory of this project.

Naming style

  1. 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.
  2. 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 _.