Revert "Fix -Wnon-virtual-dtor warning introduced in r217982."

An alternative fix was already committed.

This reverts commit r217988.

llvm-svn: 217989
This commit is contained in:
David Blaikie 2014-09-17 22:17:59 +00:00
parent 20dd05ccfd
commit d8978ec085
2 changed files with 1 additions and 4 deletions

View File

@ -36,9 +36,6 @@ private:
const TargetLibraryInfo *TLI;
bool UnsafeFPShrink;
protected:
~LibCallSimplifier() {}
public:
LibCallSimplifier(const DataLayout *TD, const TargetLibraryInfo *TLI,
bool UnsafeFPShrink);

View File

@ -2908,7 +2908,7 @@ bool InstCombiner::DoOneIteration(Function &F, unsigned Iteration) {
}
namespace {
class InstCombinerLibCallSimplifier final : public LibCallSimplifier {
class InstCombinerLibCallSimplifier : public LibCallSimplifier {
InstCombiner *IC;
public:
InstCombinerLibCallSimplifier(const DataLayout *DL,