tcbrindle / flux

A C++20 library for sequence-orientated programming
https://tristanbrindle.com/flux/
Boost Software License 1.0
484 stars 29 forks source link

Attempt to work around Clang 18 ICE #175

Closed tcbrindle closed 6 months ago

tcbrindle commented 6 months ago

This is a wild stab in the dark which attempts to solve the Clang 18 internal compiler error reported in #174.

Homebrew doesn't have LLVM 18 yet (https://github.com/Homebrew/homebrew-core/pull/165206) so I don't have a local install of the latest Clang, and we can't add it to CI either. This PR just slightly simplifies the code that Clang appears to dislike (based on the backtrace supplies in #174), but unfortunately I don't have any way of testing it yet.

So let's see what happens...

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.06%. Comparing base (ca0a4eb) to head (89ab64c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #175 +/- ## ======================================= Coverage 98.06% 98.06% ======================================= Files 69 69 Lines 2426 2426 ======================================= Hits 2379 2379 Misses 47 47 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.