forked from OSchip/llvm-project
[mlir] Attempt working around a GCC 5 bug
It doesn't like implicit `this` in generic lambdas.
This commit is contained in:
parent
42398b5142
commit
a0ea73394f
|
@ -2707,7 +2707,7 @@ OpFormatParser::parseQualifiedDirective(SMLoc loc, Context context) {
|
||||||
return element;
|
return element;
|
||||||
})
|
})
|
||||||
.Default([&](auto *element) {
|
.Default([&](auto *element) {
|
||||||
return emitError(
|
return this->emitError(
|
||||||
loc,
|
loc,
|
||||||
"'qualified' directive expects an attribute or a `type` directive");
|
"'qualified' directive expects an attribute or a `type` directive");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue