@@ -420,8 +420,9 @@ void AttrOrTypeFormat::genParamsParser(ParamsDirective *el, FmtContext &ctx,
420
420
raw_ostream &os) {
421
421
os << " // Parse parameter list\n " ;
422
422
llvm::interleave (
423
- el->getParams (), [&](auto param) { genVariableParser (param, ctx, os); },
424
- [&]() { genLiteralParser (" ," , ctx, os); });
423
+ el->getParams (),
424
+ [&](auto param) { this ->genVariableParser (param, ctx, os); },
425
+ [&]() { this ->genLiteralParser (" ," , ctx, os); });
425
426
}
426
427
427
428
void AttrOrTypeFormat::genStructParser (StructDirective *el, FmtContext &ctx,
@@ -522,21 +523,22 @@ void AttrOrTypeFormat::genVariablePrinter(const AttrOrTypeParameter ¶m,
522
523
void AttrOrTypeFormat::genParamsPrinter (ParamsDirective *el, FmtContext &ctx,
523
524
raw_ostream &os) {
524
525
llvm::interleave (
525
- el->getParams (), [&](auto param) { genVariablePrinter (param, ctx, os); },
526
- [&]() { genLiteralPrinter (" ," , ctx, os); });
526
+ el->getParams (),
527
+ [&](auto param) { this ->genVariablePrinter (param, ctx, os); },
528
+ [&]() { this ->genLiteralPrinter (" ," , ctx, os); });
527
529
}
528
530
529
531
void AttrOrTypeFormat::genStructPrinter (StructDirective *el, FmtContext &ctx,
530
532
raw_ostream &os) {
531
533
llvm::interleave (
532
534
el->getParams (),
533
535
[&](auto param) {
534
- genLiteralPrinter (param.getName (), ctx, os);
535
- genLiteralPrinter (" =" , ctx, os);
536
+ this -> genLiteralPrinter (param.getName (), ctx, os);
537
+ this -> genLiteralPrinter (" =" , ctx, os);
536
538
os << tgfmt (" $_printer << ' ';\n " , &ctx);
537
- genVariablePrinter (param, ctx, os);
539
+ this -> genVariablePrinter (param, ctx, os);
538
540
},
539
- [&]() { genLiteralPrinter (" ," , ctx, os); });
541
+ [&]() { this -> genLiteralPrinter (" ," , ctx, os); });
540
542
}
541
543
542
544
// ===----------------------------------------------------------------------===//
0 commit comments