mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
Give this class full of virtual functions a virtual destructor. Classes love
virtual destructors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165786 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a7ca3c2a28
commit
863ff7c903
@ -30,7 +30,9 @@ private:
|
||||
|
||||
public:
|
||||
/// Ctor
|
||||
explicit ScalarTargetTransformImpl(const TargetLowering *TL): TLI(TL) {}
|
||||
explicit ScalarTargetTransformImpl(const TargetLowering *TL) : TLI(TL) {}
|
||||
|
||||
virtual ~ScalarTargetTransformImpl() {}
|
||||
|
||||
virtual bool isLegalAddImmediate(int64_t imm) const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user