]> granicus.if.org Git - llvm/commit
Reapply fix in r217988 (reverted in r217989) and remove the alternative fix committed...
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 17 Sep 2014 22:27:36 +0000 (22:27 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 17 Sep 2014 22:27:36 +0000 (22:27 +0000)
commit52675f31e50af98a30d5407d2cf564026294f82f
tree30c0b9aab47b9b452392262ba87d72edca7f7fb2
parentf8b9ec99b881707380ab51f3577cd46639e7143b
Reapply fix in r217988 (reverted in r217989) and remove the alternative fix committed in r217987.

This type isn't owned polymorphically (as demonstrated by making the
dtor protected and everything still compiling) so just address the
warning by protecting the base dtor and making the derived class final.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217990 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/SimplifyLibCalls.h
lib/Transforms/InstCombine/InstructionCombining.cpp