Hello,

Le 30/03/2022 à 11:16, Sedat Dilek a écrit :
Package: clang-14
Version: 1:14.0.0-1
Severity: normal
X-Debbugs-Cc: sedat.di...@gmail.com

Hi Sylvestre,

User ldionne requests in [1] to integrate some important libc++ fixes:

We shipped LLVM 14 with an unfortunate regression in std::span which makes 
adoption of LLVM 14 somewhat difficult in large code bases.
Long story short, some valid code won’t compile anymore, and while workarounds 
exist, it’s a bit painful and it really shouldn’t be necessary since the code 
is 100% fine from a user’s perspective.
This is my fault, I let that slip into the release, did not realize it was 
going to have the impact it has, and my fixes missed the final RC by a couple 
of days
Had I known the impact, I would have made this a release blocker.

It's about these 2 commits:

$ cd /path/to/llvm-project/git

$ git log --oneline tags/llvmorg-14.0.0..release/14.x
3f43d803382d (HEAD -> release/14.x, origin/release/14.x) [libc++] Re-enable 
workaround for pre-ranges CTAD in std::span
add3ab7f4c8a [libc++] Add workaround to avoid breaking users of <span> when 
<ranges> are disabled

Thanks for the info

Could you please prepare a MR with this patches?
https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/tree/14

Thanks
S

Reply via email to