[squid-dev] RFC: clang-format

Francesco Chemolli gkinkie at gmail.com
Sat Apr 11 22:26:51 UTC 2020


Hi all,
  I have made an attempt at running clang-format on the squid sources,
after applying a configuration which follows as closely as possible
the project's coding guidelines.

You can find the output of the exercise at
https://github.com/kinkie/squid/tree/clang-format ; the configuration
is at https://github.com/kinkie/squid/blob/clang-format/.clang-format
.

Most of the changes are shifting comments and realigning macro blocks.
What do you think? Is it worthwhile to make this or same variant of
this an official guideline?

-- 
    Francesco


More information about the squid-dev mailing list