[llvm-dev] [RFC] Semi-Automatic clang-format of files with low frequency

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 1 10:13:53 PDT 2020


Am Mi., 1. Juli 2020 um 05:46 Uhr schrieb MyDeveloper Day via llvm-dev
<llvm-dev at lists.llvm.org>:
> I always knew "polly" was mostly clean too, and actually one of the areas I already test against, (along with lib/Format obviously).

You have no other choice.
Polly verifies its source formatting as part of check-polly, so every
commit that violates formatting will get an email from the buildbot.It
also triggers when clang-format itself changes. Did you find those
helpful?

The parts of Polly that are left out are its external dependencies,
i.e. isl and imath. I wonder why these are even included in the
clang-format status, we certainly do not want to modify these source
files.

For clang, I have to exclude the test folder because clang-format
messes with clang -verify tests that require comments on specific
lines and tests that check correct behavior of clang on whitespace.


Michael


More information about the llvm-dev mailing list