http://llvm.org/bugs/show_bug.cgi?id=21648
Bug ID: 21648
Summary: Improve clang++ message for ref-qualifier
Product: clang
Version: 3.5
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 13390
--> http://llvm.org/bugs/attachment.cgi?id=13390&action=edit
example code
When I compile the attached code with 'clang++ -std=c++11 main.cc', clang
produces the following line (besides others):
main.cc:4:7: note: candidate function not viable: no known conversion from
'Foo' to 'Foo' for object argument
Please change the message to something that is clearer, because at first I was
wondering why a conversion should be needed at all. Foo is Foo after all. Thank
you!
--
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