mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Fix -Wnon-virtual-dtor warning introduced in r217982.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217988 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a1dc0d78f
commit
be048a0770
@ -36,6 +36,9 @@ private:
|
||||
const TargetLibraryInfo *TLI;
|
||||
bool UnsafeFPShrink;
|
||||
|
||||
protected:
|
||||
~LibCallSimplifier() {}
|
||||
|
||||
public:
|
||||
LibCallSimplifier(const DataLayout *TD, const TargetLibraryInfo *TLI,
|
||||
bool UnsafeFPShrink);
|
||||
|
@ -2908,7 +2908,7 @@ bool InstCombiner::DoOneIteration(Function &F, unsigned Iteration) {
|
||||
}
|
||||
|
||||
namespace {
|
||||
class InstCombinerLibCallSimplifier : public LibCallSimplifier {
|
||||
class InstCombinerLibCallSimplifier final : public LibCallSimplifier {
|
||||
InstCombiner *IC;
|
||||
public:
|
||||
InstCombinerLibCallSimplifier(const DataLayout *DL,
|
||||
|
Loading…
Reference in New Issue
Block a user