[LLVMbugs] [Bug 5836] missing -Woverloaded-virtual
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Mar 31 18:36:53 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=5836
Anders Carlsson <andersca at mac.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |andersca at mac.com
Resolution| |FIXED
--- Comment #1 from Anders Carlsson <andersca at mac.com> 2011-03-31 20:36:52 CDT ---
We now implement this:
Anders-Carlssons-iMac:clang andersca$ clang -fsyntax-only t.cpp
-Woverloaded-virtual
t.cpp:6:16: warning: 'x::bar' hides overloaded virtual function
[-Woverloaded-virtual]
virtual void bar();
^
t.cpp:2:16: note: hidden overloaded virtual function 'foo::bar' declared here
virtual void bar() const;
^
1 warning generated.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list