Skip to content

Commit

Permalink
[mlir] Attempt working around a GCC 5 bug
Browse files Browse the repository at this point in the history
It doesn't like implicit `this` in generic lambdas.
  • Loading branch information
d0k committed Feb 1, 2022
1 parent 42398b5 commit a0ea733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/tools/mlir-tblgen/OpFormatGen.cpp
Expand Up @@ -2707,7 +2707,7 @@ OpFormatParser::parseQualifiedDirective(SMLoc loc, Context context) {
return element;
})
.Default([&](auto *element) {
return emitError(
return this->emitError(
loc,
"'qualified' directive expects an attribute or a `type` directive");
});
Expand Down

0 comments on commit a0ea733

Please sign in to comment.