[LLVMbugs] [Bug 21648] New: Improve clang++ message for ref-qualifier

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Nov 23 07:10:24 PST 2014


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: unassignedclangbugs at nondot.org
          Reporter: vncgxb at clrmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141123/415a6b05/attachment.html>


More information about the llvm-bugs mailing list