summaryrefslogtreecommitdiff
path: root/utils
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
commita7ac3cfabea94734a95d5bfcfc0e9f98c1120c16 (patch)
tree5ac0fd5bcf79117d970ce097503d9c4472841a52 /utils
parent3f781341f97da31bfee55bc221ff58b76e7a60df (diff)
downloadllvm-a7ac3cfabea94734a95d5bfcfc0e9f98c1120c16.tar.gz
llvm-a7ac3cfabea94734a95d5bfcfc0e9f98c1120c16.tar.bz2
llvm-a7ac3cfabea94734a95d5bfcfc0e9f98c1120c16.tar.xz
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
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/TableGenBackend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/TableGenBackend.h b/utils/TableGen/TableGenBackend.h
index ae71d2c66b..bd132039b8 100644
--- a/utils/TableGen/TableGenBackend.h
+++ b/utils/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.