History log of /external/clang/test/SemaCXX/warn-overloaded-virtual.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0266aa37802a486e65f9259014bb60848fc4be23 03-Mar-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> -Woverloaded-virtual shouldn't warn for static functions. Fixes rdar://9083431 & http://llvm.org/PR9396.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-overloaded-virtual.cpp
74b47f9173ccd2c22686b8fbf9d69852d6f46ac6 10-Feb-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> For -Woverloaded-virtual take into account canonical methods. Fixes rdar://8979966 & http://llvm.org/PR9182.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-overloaded-virtual.cpp
799ef666685d6c97d64d1970a6f68bf7923360c2 03-Feb-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> Implement -Woverloaded-virtual.

The difference with gcc is that it warns if you overload virtual methods only if
the method doesn't also override any method. This is to cut down on the number of warnings
and make it more useful like reported here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423.
If we want to warn that not all overloads are overriden we can have an additional
warning like -Wpartial-override.

-Woverloaded-virtual, unlike gcc, is added to -Wmost. Addresses rdar://8757630.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-overloaded-virtual.cpp