llvm/llvm-project

Clang elides the wrong part of the template type in error message.

Open

#180.046 aperta il 5 feb 2026

Vedi su GitHub
 (10 commenti) (0 reazioni) (0 assegnatari)C++ (10.782 fork)batch import
clang:frontendgood first issue

Metriche repository

Star
 (26.378 star)
Metriche merge PR
 (Merge medio 1g 2h) (1000 PR mergiate in 30 g)

Descrizione

Repro: https://godbolt.org/z/9bYzd3WPG

Error message:error: no viable conversion from returned value of type 'S3<S2<...>>' to function return type 'S3<S2<...>>'

Expected: error: no viable conversion from returned value of type 'S3<const S2<int>>' to function return type 'S3<S2<int>>'

Guida contributor