summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-06 05:39:03 +0000
committerChris Lattner <sabre@nondot.org>2003-08-06 05:39:03 +0000
commit236ced148728d90b66ace9722d3499bbfad83b9d (patch)
treec75937d6bcf1834a438b3fcb45d9ee00fb241628
parentbb43caeb958adfdf5a20135551e85695f2a39b09 (diff)
downloadbcm5719-llvm-236ced148728d90b66ace9722d3499bbfad83b9d.tar.gz
bcm5719-llvm-236ced148728d90b66ace9722d3499bbfad83b9d.zip
All good classes with virtual functions should have virtual dtors...
llvm-svn: 7630
-rw-r--r--llvm/support/tools/TableGen/TableGenBackend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/support/tools/TableGen/TableGenBackend.h b/llvm/support/tools/TableGen/TableGenBackend.h
index ae71d2c66bc..bd132039b86 100644
--- a/llvm/support/tools/TableGen/TableGenBackend.h
+++ b/llvm/support/tools/TableGen/TableGenBackend.h
@@ -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.
OpenPOWER on IntegriCloud