[petsc-dev] clang-format is not idempotent

Barry Smith bsmith at petsc.dev
Sun Aug 21 19:27:13 CDT 2022



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/fe7845a2/attachment.html>


More information about the petsc-dev mailing list