Change the clang formatting version number from 13 to 18.
I can then also update the jenkins tool to use the newer llvm module on cosma.
Merge request reports
Activity
added code health label
assigned to @pdraper
Actually was just reviewing the use of modules in Jenkins. Will take this on as part of that work.
!1962 (merged) looks relevant to GCC 14 along with some warnings about argument ordering in calloc calls (which make absolutely no difference to anything in reality).
added 1 commit
- 0421168f - Applied the updated formatting script. Made some small style changes in places...
added 1 commit
- f9c47b35 - Five more cases of one-line loops now written with curlies
The main change I did not like was that clang changed
for(;;) ;
to
for(;;);
in the few cases where we just needed to loop to reach the termination condition.
Having all on the same line is confusing. Arguably, so was having it on two lines so I replaced all instances with an empty block.
What do you think?
mentioned in commit 930c91f7
Please register or sign in to reply