[llvm-bugs] [Bug 28263] New: 'conversion function will never be used' for a virtual casting operator

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 22 07:13:10 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28263

            Bug ID: 28263
           Summary: 'conversion function will never be used' for a virtual
                    casting operator
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: martijntje at martijnotto.nl
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16626
  --> https://llvm.org/bugs/attachment.cgi?id=16626&action=edit
Testcase showing the warning in action

virtual operators that are overriding a base function should be exempt from
this warnings. They can simply exist to enable a cast from a reference to the
base class.

-- 
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/20160622/f91f68e9/attachment.html>


More information about the llvm-bugs mailing list