add a virtual dtor to MCTargetExpr, hopefully silencing some warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95810 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-02-10 21:37:31 +00:00
parent 11d91e80b4
commit e3e7a369f2

View File

@ -340,7 +340,7 @@ class MCTargetExpr : public MCExpr {
virtual void Anchor();
protected:
MCTargetExpr() : MCExpr(Target) {}
virtual ~MCTargetExpr() {}
public:
virtual void PrintImpl(raw_ostream &OS) const = 0;