[LLVMbugs] [Bug 23118] New: Poor error message for incompatible member function reference qualifiers
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Apr 3 12:06:57 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23118
Bug ID: 23118
Summary: Poor error message for incompatible member function
reference qualifiers
Product: clang
Version: 3.5
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: david at doublewise.net
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
struct S {
void f() & {}
};
int main() {
S{}.f();
}
source/main.cpp:6:2: error: cannot initialize object parameter of type 'S' with
an expression of type 'S'
S{}.f();
^~~
The error message should probably reference qualify the S.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150403/51f09227/attachment.html>
More information about the llvm-bugs
mailing list