eth-cscs / DLA-Future

DLA-Future
https://eth-cscs.github.io/DLA-Future/master/
BSD 3-Clause "New" or "Revised" License
64 stars 14 forks source link

Clang-format 18.1.3 is buggy #1174

Closed rasolca closed 3 months ago

rasolca commented 3 months ago

Clang-format 18.1.3 messes up with cout formatting. 18.1.6 (on MacOS via macport) and 18.1.8 (ubuntu oracular (devel)) do not show this problem.

Didn't find other usable binaries for ubuntu24.04, maybe we can use spack caches in the future (currently no ubuntu24.04 cache available).

~Should affect only miniapps and the suggested mitigation is:~

// clang format-off
// See Issue #1174
std::cout << ...
          << ...
// clang format-on

Update: Found an apt repo with a newer version of clang-format-18.