Unify Your Code
We use clang with autoformatting and code-completion to help us normalize our codes. This improves overall code readability not only for you, but for others reading your code.
CLANG-FORMAT
Make sure to have it in the root of your repository, formatters look from the inside-out in the current directory for the format specifications, so that it is applied to all your codes.
clang-format can be easily integrated into your IDE (e.g., VSCode, Vim, etc.) to automatically format your code on save or on demand. This ensures that all your code adheres to the same style guidelines without requiring manual effort.
Clang-Format Configuration
Download or copy our .clang-format file:
code.txt
Loading code...