summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LexicalScopes.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-08-12 00:32:15 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-08-12 00:32:15 +0000
commit2fc75d5d602dd9e992661cfda7bae5877817fe5b (patch)
tree07c5b91c95f3cc3185905da3dee7667c772e01f6 /include/llvm/CodeGen/LexicalScopes.h
parenta7f7db2ebd4d3ca5c4e50cb2f9047dd85a34c6c8 (diff)
downloadllvm-2fc75d5d602dd9e992661cfda7bae5877817fe5b.tar.gz
llvm-2fc75d5d602dd9e992661cfda7bae5877817fe5b.tar.bz2
llvm-2fc75d5d602dd9e992661cfda7bae5877817fe5b.tar.xz
A virtual destructor for the class with virtual methods!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LexicalScopes.h')
-rw-r--r--include/llvm/CodeGen/LexicalScopes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/LexicalScopes.h b/include/llvm/CodeGen/LexicalScopes.h
index dbdb58e243..ccbd6dae6c 100644
--- a/include/llvm/CodeGen/LexicalScopes.h
+++ b/include/llvm/CodeGen/LexicalScopes.h
@@ -44,7 +44,7 @@ typedef std::pair<const MachineInstr *, const MachineInstr *> InsnRange;
class LexicalScopes {
public:
LexicalScopes() : MF(NULL), CurrentFnLexicalScope(NULL) { }
- ~LexicalScopes();
+ virtual ~LexicalScopes();
/// initialize - Scan machine function and constuct lexical scope nest.
virtual void initialize(const MachineFunction &);