File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -287,19 +287,17 @@ namespace {
287
287
VarDecl *FieldToFind;
288
288
Size FieldOffset = Size::invalid();
289
289
290
- using super = StructMetadataScanner<FindOffsetOfFieldOffsetVector>;
291
-
292
- FindOffsetOfFieldOffsetVector (IRGenModule &IGM,
293
- VarDecl *Field)
294
- : super(IGM, cast<StructDecl>(Field->getDeclContext ())),
295
- FieldToFind(Field)
296
- {}
297
-
290
+ FindOffsetOfFieldOffsetVector (IRGenModule &IGM, VarDecl *Field)
291
+ : StructMetadataScanner<FindOffsetOfFieldOffsetVector>(
292
+ IGM, cast<StructDecl>(Field->getDeclContext ())),
293
+ FieldToFind(Field) {}
294
+
298
295
void addFieldOffset (VarDecl *Field) {
299
296
if (Field == FieldToFind) {
300
297
FieldOffset = this ->NextOffset ;
301
298
}
302
- super::addFieldOffset (Field);
299
+ StructMetadataScanner<
300
+ FindOffsetOfFieldOffsetVector>::addFieldOffset (Field);
303
301
}
304
302
};
305
303
You can’t perform that action at this time.
0 commit comments