All good classes with virtual functions should have virtual dtors...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7630 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-06 05:39:03 +00:00
parent 3f781341f9
commit a7ac3cfabe
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ class Record;
class RecordKeeper;
struct TableGenBackend {
virtual ~TableGenBackend() {}
// run - All TableGen backends should implement the run method, which should
// be the main entry point.

View File

@ -14,6 +14,7 @@ class Record;
class RecordKeeper;
struct TableGenBackend {
virtual ~TableGenBackend() {}
// run - All TableGen backends should implement the run method, which should
// be the main entry point.