File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,9 @@ struct EnumConstantRecord : APIRecord {
142
142
static bool classof (const APIRecord *Record) {
143
143
return Record->getKind () == RK_EnumConstant;
144
144
}
145
+
146
+ private:
147
+ virtual void anchor ();
145
148
};
146
149
147
150
// / This holds information associated with enums.
@@ -157,6 +160,9 @@ struct EnumRecord : APIRecord {
157
160
static bool classof (const APIRecord *Record) {
158
161
return Record->getKind () == RK_Enum;
159
162
}
163
+
164
+ private:
165
+ virtual void anchor ();
160
166
};
161
167
162
168
// / This holds information associated with struct fields.
@@ -171,6 +177,9 @@ struct StructFieldRecord : APIRecord {
171
177
static bool classof (const APIRecord *Record) {
172
178
return Record->getKind () == RK_StructField;
173
179
}
180
+
181
+ private:
182
+ virtual void anchor ();
174
183
};
175
184
176
185
// / This holds information associated with structs.
@@ -187,6 +196,9 @@ struct StructRecord : APIRecord {
187
196
static bool classof (const APIRecord *Record) {
188
197
return Record->getKind () == RK_Struct;
189
198
}
199
+
200
+ private:
201
+ virtual void anchor ();
190
202
};
191
203
192
204
// / APISet holds the set of API records collected from given inputs.
Original file line number Diff line number Diff line change @@ -131,3 +131,7 @@ StringRef APISet::copyString(StringRef String) {
131
131
APIRecord::~APIRecord () {}
132
132
133
133
void GlobalRecord::anchor () {}
134
+ void EnumConstantRecord::anchor () {}
135
+ void EnumRecord::anchor () {}
136
+ void StructFieldRecord::anchor () {}
137
+ void StructRecord::anchor () {}
You can’t perform that action at this time.
0 commit comments