[llvm-bugs] [Bug 30893] New: Warnings about overloaded virtual when building clang.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 3 04:47:45 PDT 2016


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

            Bug ID: 30893
           Summary: Warnings about overloaded virtual when building clang.
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: bjorn.a.pettersson at ericsson.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

After commit r285326 there are lots of warning similar to this one when
building clang with gcc:

  tools/clang/include/clang/Driver/Tool.h:141:16: warning: ‘virtual void
clang::driver::Tool::ConstructJob(clang::driver::Compilation&, const
clang::driver::JobAction&, const InputInfoList&, const InputInfoList&, const
llvm::opt::ArgList&, const char*) const’ was hidden [-Woverloaded-virtual]


This can for example be seen in buildbot logs like this one:

http://lab.llvm.org:8011/builders/clang-3stage-ubuntu/builds/157/steps/build-stage3-clang/logs/warnings%20%28829%29

-- 
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/20161103/93347eb0/attachment.html>


More information about the llvm-bugs mailing list