[Mlir-commits] [mlir] 47ddf38 - Add explicit `this->` to access method in attempt to fix gcc5 build (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Mon Feb 28 00:55:49 PST 2022
Author: Mehdi Amini
Date: 2022-02-28T08:54:38Z
New Revision: 47ddf382e6cb0c63cb178abee77a4c4236aa1304
URL: https://github.com/llvm/llvm-project/commit/47ddf382e6cb0c63cb178abee77a4c4236aa1304
DIFF: https://github.com/llvm/llvm-project/commit/47ddf382e6cb0c63cb178abee77a4c4236aa1304.diff
LOG: Add explicit `this->` to access method in attempt to fix gcc5 build (NFC)
Added:
Modified:
mlir/lib/Tools/PDLL/CodeGen/MLIRGen.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Tools/PDLL/CodeGen/MLIRGen.cpp b/mlir/lib/Tools/PDLL/CodeGen/MLIRGen.cpp
index 16a5afa4ea487..81b719c63365b 100644
--- a/mlir/lib/Tools/PDLL/CodeGen/MLIRGen.cpp
+++ b/mlir/lib/Tools/PDLL/CodeGen/MLIRGen.cpp
@@ -312,7 +312,7 @@ Value CodeGen::genNonInitializerVar(const ast::VariableDecl *varDecl,
.Case<ast::AttrConstraintDecl, ast::ValueConstraintDecl,
ast::ValueRangeConstraintDecl>([&, this](auto *cst) -> Value {
if (auto *typeConstraintExpr = cst->getTypeExpr())
- return genSingleExpr(typeConstraintExpr);
+ return this->genSingleExpr(typeConstraintExpr);
return Value();
})
.Default(Value());
More information about the Mlir-commits
mailing list