[OpenWrt-Devel] [PATCH v2 2/2] procd: apply official kernel clang-format style

Paul Spooren mail at aparcar.org
Tue May 14 12:51:55 EDT 2019

On 5/14/19 6:24 PM, Daniel Golle wrote:
> I don't think adding formatter-information into the code makes sense
> at this stage, as this is meant for exeptions from an otherwise applied
> style. Here, obviously clang-format defintions don't reflect the
> current style.

They don't, they reflect the kernels style (at lest, as much as I
understand using the .clang-configuration file). If it's ugly, it's not
a matter of clang-format but of the kernels code style, not?

To not spam this list to much, I pushed two branches to GitHub with
default style:

clang-format-7 default:

clang-format-9 default:

I'd be happy if you could give this a few minutes and send a config you


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list