http://llvm.org/bugs/show_bug.cgi?id=12836
Bug #: 12836
Summary: Attempt to match functions containing undeclared
identifiers to unimplemented functions
Product: clang
Version: trunk
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
IWBN if clang++ suggested that I might have meant "int MyClass::fn()" instead
of the bare "int fn()" in the example below:
struct MyClass {
int fn();
int field_;
};
int fn() {
return field_;
}
$ clang++ -c t.cc
t.cc:7:10: error: use of undeclared identifier 'field_'
return field_;
^
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