Skip to content
Snippets Groups Projects
Commit 0847b3a6 authored by Nick Lewycky's avatar Nick Lewycky
Browse files

A virtual destructor for the class with virtual methods!

llvm-svn: 137400
parent 12130277
No related merge requests found
......@@ -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 &);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment