[Mlir-commits] [mlir] e76043a - [PDLL] Fix GCC5 build after D115093
River Riddle
llvmlistbot at llvm.org
Wed Dec 15 20:10:10 PST 2021
Author: River Riddle
Date: 2021-12-16T03:49:34Z
New Revision: e76043ac643c511d1d5334216faf672ac22dc8cd
URL: https://github.com/llvm/llvm-project/commit/e76043ac643c511d1d5334216faf672ac22dc8cd
DIFF: https://github.com/llvm/llvm-project/commit/e76043ac643c511d1d5334216faf672ac22dc8cd.diff
LOG: [PDLL] Fix GCC5 build after D115093
Added:
Modified:
mlir/lib/Tools/PDLL/Parser/Parser.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Tools/PDLL/Parser/Parser.cpp b/mlir/lib/Tools/PDLL/Parser/Parser.cpp
index 2fb16c467c122..58060075cb1fd 100644
--- a/mlir/lib/Tools/PDLL/Parser/Parser.cpp
+++ b/mlir/lib/Tools/PDLL/Parser/Parser.cpp
@@ -1248,7 +1248,7 @@ FailureOr<ast::LetStmt *> Parser::parseLetStmt() {
.Case<ast::AttrConstraintDecl, ast::ValueConstraintDecl,
ast::ValueRangeConstraintDecl>([&](const auto *cst) {
if (auto *typeConstraintExpr = cst->getTypeExpr()) {
- return emitError(
+ return this->emitError(
constraint.referenceLoc,
"type constraints are not permitted on variables with "
"initializers");
More information about the Mlir-commits
mailing list