au-ts / sddf

A collection of interfaces, libraries and tools for writing device drivers for seL4 that allow accessing devices securely and with low overhead.
Other
23 stars 18 forks source link

Use LLVM19 for clang-format #244

Closed midnightveil closed 2 months ago

midnightveil commented 2 months ago

From the GPU branch:

image image

Ivan-Velickovic commented 2 months ago

Just to note the motivation for this PR, looks like versions of clang-format before LLVM-19 have a bug that causes weird pointer alignment false positives. In fact, this is the exact same bug that astyle had which is why we moved away from astyle.

Anyways, at least it is fixed in the latest version of LLVM and let's hope it doesn't regress.

midnightveil commented 2 months ago

Nevermind, LLVM19 doesn't fix that issue.