llvm/llvm-project

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

Open

#180,046 opened on 2026年2月5日

GitHub で見る
 (10 comments) (0 reactions) (0 assignees)C++ (10,782 forks)batch import
clang:frontendgood first issue

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (平均マージ 1d 2h) (30d で 1,000 merged PRs)

説明

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

コントリビューターガイド