contributing: Explain how to clang-format

This commit is contained in:
Léo Lam 2021-12-04 18:46:15 +01:00
parent 70354f58fe
commit e09eb09f66
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ public:
* For major differences (lots of entirely red/green/blue lines in the diff), use a capital `M` (major difference) in place of `m`.
9. Before opening a PR, reformat the code with clang-format and run `tools/check`.
* You can use clang-format via your editor VSCode and CLion have built-in clang-format support — or by calling `git clang-format` (for files you have `git add`ed and not yet committed).
## Non-inlined functions