]> granicus.if.org Git - clang/commit
Warn when trying to call a pure virtual member function in a class from the class...
authorAnders Carlsson <andersca@mac.com>
Fri, 6 May 2011 14:25:31 +0000 (14:25 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 6 May 2011 14:25:31 +0000 (14:25 +0000)
commit2174d4c11c1544a6729637790637b765e35b67a3
tree65f332794d67239aea3ac74935030388b1a1123d
parent9d0fbeadc455c8292837b738b6af315d27930637
Warn when trying to call a pure virtual member function in a class from the class constructor/destructor. Fixes PR7966.

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