summaryrefslogtreecommitdiff
path: root/.clang-format
Commit message (Collapse)AuthorAgeFilesLines
* clang-format: don't align escaped newlines in macro definitionsAlex Richardson2022-09-211-0/+1
|
* clang-format: add spaces before parensAlex Richardson2022-09-211-0/+1
| | | | Previously, clang-format was not adding a space after sizeof.
* Add a clang-format configuration fileAlex Richardson2022-05-181-0/+5
This ensures that IDEs such as CLion automatically use the correct indentation, and running `git-clang-format` results in patches that are actually quite close to the current style. It doesn't handle alignment of parameters in function declarations, but otherwise it seems accurate.