| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We gernerally have our pointers aligned to the right. SpaceAroundPointerQualifiers
makes sure "const char * const" is formatted nicely.
|
|
|
|
|
| |
We use 8 for blocks, and 16 for continuation in most cases afaics, hence
say so in .clang-format too
|
| |
|
|
|
|
|
|
|
| |
I contributed this option to LLVM a while ago to reduce the amount of
changes clang-format makes when formatting systemd source files. As
LLVM 11 is now starting to becomes widely available, let's configure
it in the clang-format config.
|
| |
|
|
|
|
| |
if set to true, the opening bracket will be moved to the next line.
|
| |
|
| |
|
|
|
|
| |
The comments lack the most important usecase: fixing up your commits.
|
|
The result of automatic formatting is not perfect, but if someone uses an
editor that uses that, it's probably better than nothing.
Fixes #15415.
[zjs: I resurrected this patch from #11811 and edited the extended comment
heavily.]
|