]> granicus.if.org Git - clang/commit
Diagnose when a 'static' member function overrides a virtual function
authorDouglas Gregor <dgregor@apple.com>
Wed, 13 Oct 2010 22:55:32 +0000 (22:55 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 13 Oct 2010 22:55:32 +0000 (22:55 +0000)
commita6c1e3a56afb76876cd06e3646fd7ca57a38d4bb
tree4ff80b558e6ed1f22cbb098ba88dff90f0db223e
parent922fff2c9ef458fc04839e45a79552513f41ec7e
Diagnose when a 'static' member function overrides a virtual function
in a base class. Fixes PR8168.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116448 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaDecl.cpp
test/SemaCXX/virtual-override.cpp