summaryrefslogtreecommitdiff
path: root/.clang-format
Commit message (Collapse)AuthorAgeFilesLines
* ; Fix a typo in .clang-format.dickmao2022-12-021-1/+1
|
* ; Make clang-format format indent preprocessor blocks correctly.Vibhav Pant2022-12-021-0/+2
| | | | (cherry picked from commit 1abda0c83981a6d35dd4b2dd3e88e9886d13cb09)
* ; .clang-format: Support macros in comp.c, align operands correctly.Vibhav Pant2022-11-151-4/+12
| | | | | | | | * .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-051-1/+4
| | | | | * .clang-format (ForEachMacros): Add FOR_EACH_LIVE_BUFFER. (Bug#59027)
* Configure clang-format to use tabsMatt Armstrong2022-11-051-0/+1
| | | | | * .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-111-1/+1
|
* * .clang-format: Fix base style.Philipp Stephani2021-01-231-1/+1
|
* * .clang-format (ColumnLimit): Fix line length.Philipp Stephani2020-12-231-1/+1
|
* Add configuration for clang-format.Philipp Stephani2017-09-241-0/+27
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.