File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ def ExtraClassOfInterface : OpInterface<"ExtraClassOfInterface"> {
11
11
12
12
// DECL: class ExtraClassOfInterface
13
13
// DECL: static bool classof(::mlir::Operation * base) {
14
- // DECL-NEXT: auto* concept = getInterfaceFor(base);
15
- // DECL-NEXT: if (!concept )
14
+ // DECL-NEXT: auto* interface = getInterfaceFor(base);
15
+ // DECL-NEXT: if (!interface )
16
16
// DECL-NEXT: return false;
17
- // DECL-NEXT: ExtraClassOfInterface odsInterfaceInstance(base, concept );
17
+ // DECL-NEXT: ExtraClassOfInterface odsInterfaceInstance(base, interface );
18
18
// DECL-NEXT: return odsInterfaceInstance->someOtherMethod();
19
19
// DECL-NEXT: }
20
20
Original file line number Diff line number Diff line change @@ -584,10 +584,10 @@ void InterfaceGenerator::emitInterfaceDecl(const Interface &interface) {
584
584
auto extraClassOfFmt = tblgen::FmtContext ();
585
585
extraClassOfFmt.addSubst (substVar, " odsInterfaceInstance" );
586
586
os << " static bool classof(" << valueType << " base) {\n "
587
- << " auto* concept = getInterfaceFor(base);\n "
588
- << " if (!concept )\n "
587
+ << " auto* interface = getInterfaceFor(base);\n "
588
+ << " if (!interface )\n "
589
589
" return false;\n "
590
- " " << interfaceName << " odsInterfaceInstance(base, concept );\n "
590
+ " " << interfaceName << " odsInterfaceInstance(base, interface );\n "
591
591
<< " " << tblgen::tgfmt (extraClassOf->trim (), &extraClassOfFmt)
592
592
<< " \n }\n " ;
593
593
}
You can’t perform that action at this time.
0 commit comments