summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-11 20:23:13 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-11 20:23:13 +0000
commit9bcc399f1cdf396fb73ba23f7a400a97fbfd5ae1 (patch)
tree35c42be763d66d16c0577f3dc5409a59df42235f
parent1bb6e28ac22ce6273eb792c3dcc5c8e35e5cf58b (diff)
downloadllvm-9bcc399f1cdf396fb73ba23f7a400a97fbfd5ae1.tar.gz
llvm-9bcc399f1cdf396fb73ba23f7a400a97fbfd5ae1.tar.bz2
llvm-9bcc399f1cdf396fb73ba23f7a400a97fbfd5ae1.tar.xz
struct Init -> class Init.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134917 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/TableGen/CodeGenDAGPatterns.h2
-rw-r--r--utils/TableGen/Record.h2
-rw-r--r--utils/TableGen/TGParser.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.h b/utils/TableGen/CodeGenDAGPatterns.h
index f517219ee7..6e1eb085c0 100644
--- a/utils/TableGen/CodeGenDAGPatterns.h
+++ b/utils/TableGen/CodeGenDAGPatterns.h
@@ -26,7 +26,7 @@
namespace llvm {
class Record;
- struct Init;
+ class Init;
class ListInit;
class DagInit;
class SDNodeInfo;
diff --git a/utils/TableGen/Record.h b/utils/TableGen/Record.h
index 52b46eaa89..60e026ad20 100644
--- a/utils/TableGen/Record.h
+++ b/utils/TableGen/Record.h
@@ -36,7 +36,7 @@ class DagRecTy;
class RecordRecTy;
// Init subclasses.
-struct Init;
+class Init;
class UnsetInit;
class BitInit;
class BitsInit;
diff --git a/utils/TableGen/TGParser.h b/utils/TableGen/TGParser.h
index 562c36173f..82a8a8ceec 100644
--- a/utils/TableGen/TGParser.h
+++ b/utils/TableGen/TGParser.h
@@ -25,7 +25,7 @@ namespace llvm {
class RecordVal;
class RecordKeeper;
struct RecTy;
- struct Init;
+ class Init;
struct MultiClass;
struct SubClassReference;
struct SubMultiClassReference;