[LLVMbugs] [Bug 13051] New: clang suggests that T::foo should maybe be T::for
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 7 15:46:22 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13051
Bug #: 13051
Summary: clang suggests that T::foo should maybe be T::for
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: quality-of-implementation
Severity: enhancement
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: richard-llvm at metafoo.co.uk
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu,
rikka at google.com
Classification: Unclassified
template<typename T> struct S { }; void f() { f(S<int>::foo()); }
<stdin>:1:57: error: no member named 'foo' in 'S<int>'; did you mean 'for'?
template<typename T> struct S { }; void f() { f(S<int>::foo()); }
~~~~~~~~^
Umm... no.
--
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