dickmao
24ca490d7d
; Fix a typo in .clang-format.
2022-12-02 15:01:11 +02:00
Vibhav Pant
a48cd7bb9f
; Make clang-format format indent preprocessor blocks correctly.
...
(cherry picked from commit 1abda0c839
)
2022-12-02 15:00:23 +02:00
Vibhav Pant
7d5cf08de9
; .clang-format: Support macros in comp.c, align operands correctly.
...
* .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.
2022-11-15 20:18:44 +05:30
Matt Armstrong
a0d08878f1
; Make clang-format handle FOR_EACH_LIVE_BUFFER
...
* .clang-format (ForEachMacros): Add
FOR_EACH_LIVE_BUFFER. (Bug#59027)
2022-11-05 01:47:17 +01:00
Matt Armstrong
18c184d6d9
Configure clang-format to use tabs
...
* .clang-format (UseTab): Set to "Always", to match
the (indent-tabs-mode . t) in .dir-locals.el. (Bug#59027)
2022-11-05 01:46:40 +01:00
Matt Armstrong
034d504158
; * .clang-format: Add ITREE_FOREACH.
2022-10-11 20:43:39 -07:00
Philipp Stephani
27a023d029
* .clang-format: Fix base style.
2021-01-23 19:04:53 +01:00
Philipp Stephani
773f9eb467
* .clang-format (ColumnLimit): Fix line length.
2020-12-23 17:34:26 +01:00
Philipp Stephani
108df97bf7
Add configuration for clang-format.
...
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.
2017-09-24 10:47:11 +02:00