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: unassignedclangb...@nondot.org
          Reporter: martijn...@martijnotto.nl
                CC: dgre...@apple.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to