projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
11d91e8
)
add a virtual dtor to MCTargetExpr, hopefully silencing some warnings.
author
Chris Lattner
<sabre@nondot.org>
Wed, 10 Feb 2010 21:37:31 +0000
(21:37 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 10 Feb 2010 21:37:31 +0000
(21:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95810
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MCExpr.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCExpr.h
b/include/llvm/MC/MCExpr.h
index 48a13f66d538d54602efbf8cab218bdcd4ca7aa8..fce7602c3b29be0845113475fd99d0b81b0aed81 100644
(file)
--- a/
include/llvm/MC/MCExpr.h
+++ b/
include/llvm/MC/MCExpr.h
@@
-340,7
+340,7
@@
class MCTargetExpr : public MCExpr {
virtual void Anchor();
protected:
MCTargetExpr() : MCExpr(Target) {}
virtual void Anchor();
protected:
MCTargetExpr() : MCExpr(Target) {}
-
+ virtual ~MCTargetExpr() {}
public:
virtual void PrintImpl(raw_ostream &OS) const = 0;
public:
virtual void PrintImpl(raw_ostream &OS) const = 0;