bogus diagnostic deduction_guide_bad_trailing_return_type
#54909
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
The following code is passed in gcc and msvc, but clang gives a bogus diagnostic
deduced type 'B<T>' (aka 'A<type-parameter-0-0>') of deduction guide is not written as a specialization of template 'A'
.The reason is that when clang compares the equality of two Template-kind
TemplateName
, it doesn't seem to consider theTypeAliasTemplateDecl
case.The text was updated successfully, but these errors were encountered: