[flang-dev] Which version of clang-format to use?

Michael Kruse via flang-dev flang-dev at lists.llvm.org
Fri May 14 14:31:36 PDT 2021


I think the only canonical version is the version in-tree at the same
revision. Everything else would require another discussion and/or
manual work with the bots after clang has had a new release.

Maybe the pre-merge bot could be changed to also keep clang-format and
clang-tidy up-to-date?

Michael


Am Fr., 14. Mai 2021 um 08:35 Uhr schrieb Peter Steinfeld via
flang-dev <flang-dev at lists.llvm.org>:
>
> Over the past several months, I’ve always used the latest version of clang-format built from the latest version of LLVM.  Currently, this is version 13.0.0.  When recently reviewing Phabricator requests, I’ve noticed differences caused by changes in clang-format.  So I decided to clean up all of the differences and filed https://reviews.llvm.org/D102424.  But when Phabricator displayed my request, it annotated it with several comments saying that clang-format needed to be run on some of the files.  Apparently Phabricator is using a different version of clang-format, so I filed https://github.com/google/llvm-premerge-checks/issues/303 for this issue.
>
>
>
> What’s the proper process?  Which version of clang-format should we all be using?
>
>
>
> Pete
>
>
>
> _______________________________________________
> flang-dev mailing list
> flang-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/flang-dev


More information about the flang-dev mailing list