]> granicus.if.org Git - clang/commit
[Sema] Don't emit "pure virtual" warning for fully qualified calls.
authorDavide Italiano <davide@freebsd.org>
Tue, 14 Jul 2015 23:36:10 +0000 (23:36 +0000)
committerDavide Italiano <davide@freebsd.org>
Tue, 14 Jul 2015 23:36:10 +0000 (23:36 +0000)
commit95deb3c575b20b3574a4658b377931ac27ea6d3e
treecb4b1c0a1ce8e703150a0a661b6dee51d30e1fb2
parentc6a91d5eefff9f99e8ccb7af15a419fd63c637eb
[Sema] Don't emit "pure virtual" warning for fully qualified calls.

-fapple-kext is an exception because calls will still go through
the vtable in that mode. Add a note to make the user aware of that.

PR:   23215
Differential Revision:  http://reviews.llvm.org/D10935

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242246 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/warn-pure-virtual-call-from-ctor-dtor.cpp
test/SemaCXX/warn-pure-virtual-kext.cpp [new file with mode: 0644]