llvm/llvm-project

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

Open

#180 046 ouverte le 5 févr. 2026

Voir sur GitHub
 (10 commentaires) (0 réactions) (0 assignés)C++ (10 782 forks)batch import
clang:frontendgood first issue

Métriques du dépôt

Stars
 (26 378 stars)
Métriques de merge PR
 (Merge moyen 1j 2h) (1 000 PRs mergées en 30 j)

Description

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>>'

Guide contributeur