mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Shuffle the virtual destructor down to the base. This should actually pacify
-Wnon-virtual-dtor for real. llvm-svn: 165787
This commit is contained in:
parent
8e62457a23
commit
f5276c5683
@ -32,8 +32,6 @@ public:
|
||||
/// Ctor
|
||||
explicit ScalarTargetTransformImpl(const TargetLowering *TL) : TLI(TL) {}
|
||||
|
||||
virtual ~ScalarTargetTransformImpl() {}
|
||||
|
||||
virtual bool isLegalAddImmediate(int64_t imm) const;
|
||||
|
||||
virtual bool isLegalICmpImmediate(int64_t imm) const;
|
||||
|
@ -75,6 +75,8 @@ public:
|
||||
/// LSR, and LowerInvoke use this interface.
|
||||
class ScalarTargetTransformInfo {
|
||||
public:
|
||||
virtual ~ScalarTargetTransformInfo() {}
|
||||
|
||||
/// isLegalAddImmediate - Return true if the specified immediate is legal
|
||||
/// add immediate, that is the target has add instructions which can add
|
||||
/// a register with the immediate without having to materialize the
|
||||
|
Loading…
Reference in New Issue
Block a user