summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-pure-virtual-call-from-ctor-dtor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Create a diagnostic group for ↵Sylvestre Ledru2018-11-261-1/+1
| | | | | | | | | | | | | | | | warn_call_to_pure_virtual_member_function_from_ctor_dtor, so it can be turned into an error using Werror Summary: Patch by Arnaud Bienner Reviewers: davide, rsmith, jkorous Reviewed By: jkorous Subscribers: jkorous, sylvestre.ledru, cfe-commits Differential Revision: https://reviews.llvm.org/D53807 llvm-svn: 347555
* [Sema] Don't emit "pure virtual" warning for fully qualified calls.Davide Italiano2015-07-141-2/+10
| | | | | | | | | | -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 llvm-svn: 242246
* Fix missing braces around two statements that were intended to be partChandler Carruth2011-06-271-0/+7
| | | | | | | | | | | of a single if block. This is really annoying to track down and test. Silly changes to the test case caused it to stop showing up. I wish there were a more concrete way of asserting that a note attaches to the intended diagnostic. This fixes PR10195. llvm-svn: 133907
* Warn when trying to call a pure virtual member function in a class from the ↵Anders Carlsson2011-05-061-0/+7
class constructor/destructor. Fixes PR7966. llvm-svn: 130982
OpenPOWER on IntegriCloud