[llvm-dev] [cfe-dev] [RFC] Adding support for clang-format making further code modifying changes

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Fri Aug 27 15:43:59 PDT 2021


On Fri, 27 Aug 2021 at 19:33, Manuel Klimek <klimek at google.com> wrote:

> It's the algorithm - clang-format is a numerical optimizer of "beauty" -
> any small changes can lead to the numerical outputs changing slightly,
> which then leads to slight diffs in how code is formatted where two options
> were previously considered very "similarly beautiful". It's not happening
> super often, but it does happen.
>
> I agree that we shouldn't introduce changes to formatting without good
> reasons, but we can't restrict changes only to bug fixes - new features can
> introduce changes, too.
>

Makes sense, thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210827/9a511040/attachment.html>


More information about the llvm-dev mailing list