[petsc-dev] clang-format is not idempotent
Jacob Faibussowitsch
jacob.fai at gmail.com
Sun Aug 21 20:25:19 CDT 2022
This smells like a bug in clang-format. Could also be worth opening an issue at https://github.com/llvm/llvm-project
Best regards,
Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)
> On Aug 21, 2022, at 19:27, Barry Smith <bsmith at petsc.dev> wrote:
>
>
>
>
> if (xxx) {
> /* greetings */
> }
>
> if (xxx) { /* greetings */ }
>
> if (xxx) { /* greetings */
> }
>
>
> Happens only in a few places in PETSc where people have commented out code inside the {} instead of real code, I suppose I can delete that dead code to resolve the problem?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20220821/ef8a2372/attachment.html>
More information about the petsc-dev
mailing list