[llvm-commits] [llvm] r137400 - /llvm/trunk/include/llvm/CodeGen/LexicalScopes.h
Nick Lewycky
nicholas at mxc.ca
Thu Aug 11 17:32:15 PDT 2011
Author: nicholas
Date: Thu Aug 11 19:32:15 2011
New Revision: 137400
URL: http://llvm.org/viewvc/llvm-project?rev=137400&view=rev
Log:
A virtual destructor for the class with virtual methods!
Modified:
llvm/trunk/include/llvm/CodeGen/LexicalScopes.h
Modified: llvm/trunk/include/llvm/CodeGen/LexicalScopes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LexicalScopes.h?rev=137400&r1=137399&r2=137400&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LexicalScopes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LexicalScopes.h Thu Aug 11 19:32:15 2011
@@ -44,7 +44,7 @@
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 &);
More information about the llvm-commits
mailing list