[llvm-bugs] [Bug 38210] New: CGObjCGNU - -Woverloaded-virtual warnings

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 18 04:27:56 PDT 2018


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

            Bug ID: 38210
           Summary: CGObjCGNU - -Woverloaded-virtual warnings
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: csdavec at swan.ac.uk, llvm-bugs at lists.llvm.org,
                    rjmccall at apple.com

We're seeing hidden overload warnings on some buildbots:

http://lab.llvm.org:8011/builders/clang-lld-x86_64-2stage/builds/6242/steps/build-stage1-unified-tree/logs/warnings%20%284%29

/home/buildslave/am1i-slv3/clang-lld-x86_64-2stage/llvm/tools/clang/lib/CodeGen/CGObjCGNU.cpp:587:16:
warning: ‘virtual llvm::Value*
{anonymous}::CGObjCGNU::GetSelector(clang::CodeGen::CodeGenFunction&,
clang::Selector)’ was hidden [-Woverloaded-virtual]
/home/buildslave/am1i-slv3/clang-lld-x86_64-2stage/llvm/tools/clang/lib/CodeGen/CGObjCGNU.cpp:1345:16:
warning:   by ‘virtual llvm::Value*
{anonymous}::CGObjCGNUstep2::GetSelector(clang::CodeGen::CodeGenFunction&,
clang::Selector, const string&)’ [-Woverloaded-virtual]
/home/buildslave/am1i-slv3/clang-lld-x86_64-2stage/llvm/tools/clang/lib/CodeGen/CGObjCGNU.cpp:589:16:
warning: ‘virtual llvm::Value*
{anonymous}::CGObjCGNU::GetSelector(clang::CodeGen::CodeGenFunction&, const
clang::ObjCMethodDecl*)’ was hidden [-Woverloaded-virtual]
/home/buildslave/am1i-slv3/clang-lld-x86_64-2stage/llvm/tools/clang/lib/CodeGen/CGObjCGNU.cpp:1345:16:
warning:   by ‘virtual llvm::Value*
{anonymous}::CGObjCGNUstep2::GetSelector(clang::CodeGen::CodeGenFunction&,
clang::Selector, const string&)’ [-Woverloaded-virtual]

-- 
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/20180718/ac281551/attachment.html>


More information about the llvm-bugs mailing list