aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/TGParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/TGParser.h')
-rw-r--r--utils/TableGen/TGParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/TGParser.h b/utils/TableGen/TGParser.h
index fd33aec..edbc4c1 100644
--- a/utils/TableGen/TGParser.h
+++ b/utils/TableGen/TGParser.h
@@ -23,7 +23,7 @@ namespace llvm {
struct RecTy;
struct Init;
struct MultiClass;
- struct SubClassReference;
+ class SubClassReference;
struct LetRecord {
std::string Name;
@@ -66,7 +66,7 @@ private: // Semantic analysis methods.
bool AddValue(Record *TheRec, LocTy Loc, const RecordVal &RV);
bool SetValue(Record *TheRec, LocTy Loc, const std::string &ValName,
const std::vector<unsigned> &BitList, Init *V);
- bool AddSubClass(Record *Rec, class SubClassReference &SubClass);
+ bool AddSubClass(Record *Rec, SubClassReference &SubClass);
private: // Parser methods.
bool ParseObjectList();