summaryrefslogtreecommitdiff
path: root/.clang-format
Commit message (Collapse)AuthorAge
* ; Fix a typo in .clang-format.dickmao2022-12-02
|
* ; Make clang-format format indent preprocessor blocks correctly.Vibhav Pant2022-12-02
| | | | (cherry picked from commit 1abda0c83981a6d35dd4b2dd3e88e9886d13cb09)
* ; .clang-format: Support macros in comp.c, align operands correctly.Vibhav Pant2022-11-15
| | | | | | | | * .clang-format (WhitespaceSensitiveMacros): Add comp.c macros that stringify arguments, telling clang-format to not format them. (AlignOperands): Set to Align, to make clang-format correctly align multi-line expressions involving binary and ternary expressions. (ForEachMacros): Add FOR_EACH_ALIST_VALUE.
* ; Make clang-format handle FOR_EACH_LIVE_BUFFERMatt Armstrong2022-11-05
| | | | | * .clang-format (ForEachMacros): Add FOR_EACH_LIVE_BUFFER. (Bug#59027)
* Configure clang-format to use tabsMatt Armstrong2022-11-05
| | | | | * .clang-format (UseTab): Set to "Always", to match the (indent-tabs-mode . t) in .dir-locals.el. (Bug#59027)
* ; * .clang-format: Add ITREE_FOREACH.Matt Armstrong2022-10-11
|
* * .clang-format: Fix base style.Philipp Stephani2021-01-23
|
* * .clang-format (ColumnLimit): Fix line length.Philipp Stephani2020-12-23
|
* Add configuration for clang-format.Philipp Stephani2017-09-24
This allows developers to auto-format the C code with clang-format. It’s not 100% accurate, but works pretty well for most of the C code.