[LLVMdev] running clang format on the Mips target

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Dec 20 14:18:01 PST 2013


On 20 December 2013 15:52, reed kotler <rkotler at mips.com> wrote:
> We are considering running clang format on the whole Mips target.
>
> Is there any rule against this?

I don't think there is a rule, but even simpler things like "remove
all trailing spaces" were not common in the past

> Is there any good argument against doing this even if there is no rule
> against it?

It think the argument was that it makes history harder to follow. A
git blame lands you on the reformatting patch and you have to manually
skip them.

I don't personally consider that a strong argument and I think polly
did just that (run clang-format on everything), so it might be OK
these days.

Cheers,
Rafael



More information about the llvm-dev mailing list