http://llvm.org/bugs/show_bug.cgi?id=11548
Bug #: 11548
Summary: no diagnostic for ill-formed call to function on a
member of the current instantiation
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
This bit me recently: see r146366. g++ diagnoses the following, but clang
doesn't notice anything wrong with it:
struct A {
void f(int);
};
template<typename T> struct S {
A a;
void g() {
a.f();
}
};
--
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