diff options
author | David Greene <greened@obbligato.org> | 2011-07-13 22:25:51 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2011-07-13 22:25:51 +0000 |
commit | afd54269ab9951c0dcdea076c4d6f48a345e9d27 (patch) | |
tree | bb052f74a1a5a50fd6d615f6c0d25e1a2b3628c9 /utils/TableGen/Record.h | |
parent | 54c74e906a622c1a2d95d2fc11a7dae88a61963e (diff) | |
download | external_llvm-afd54269ab9951c0dcdea076c4d6f48a345e9d27.zip external_llvm-afd54269ab9951c0dcdea076c4d6f48a345e9d27.tar.gz external_llvm-afd54269ab9951c0dcdea076c4d6f48a345e9d27.tar.bz2 |
struct Init -> class Init
Rename struct Init to class Init for consistency and in preparation
for making Init a FoldingSetNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/Record.h')
-rw-r--r-- | utils/TableGen/Record.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/TableGen/Record.h b/utils/TableGen/Record.h index f24f5e6..2f4080b 100644 --- a/utils/TableGen/Record.h +++ b/utils/TableGen/Record.h @@ -34,7 +34,7 @@ class DagRecTy; class RecordRecTy; // Init subclasses. -struct Init; +class Init; class UnsetInit; class BitInit; class BitsInit; @@ -453,7 +453,8 @@ RecTy *resolveTypes(RecTy *T1, RecTy *T2); // Initializer Classes //===----------------------------------------------------------------------===// -struct Init { +class Init { +public: virtual ~Init() {} /// isComplete - This virtual method should be overridden by values that may |