http://llvm.org/bugs/show_bug.cgi?id=8489
Summary: Template argument name missing in diagnostic
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
$ cat template_error_with_no_name.cc
template<typename CT>
class C {
template<typename FT>
void F() {}
};
void f() {
C<int> c;
c.F();
}
$ clang -fsyntax-only template_error_with_no_name.cc
template_error_with_no_name.cc:9:5: error: no matching member function for call
to 'F'
c.F();
~~^
template_error_with_no_name.cc:4:8: note: candidate template ignored: couldn't
infer template argument ''
void F() {}
^
1 error generated.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs