[LLVMbugs] [Bug 8489] New: Template argument name missing in diagnostic
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Oct 27 14:44:44 PDT 2010
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: unassignedclangbugs at nondot.org
ReportedBy: matthewbg at google.com
CC: llvmbugs at cs.uiuc.edu
$ 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.
More information about the llvm-bugs
mailing list