[Mlir-commits] [mlir] f830dea - [MLIR] Fix missing ::mlir namespace
Tobias Gysi
llvmlistbot at llvm.org
Wed Apr 19 08:15:09 PDT 2023
Author: Arash Taheri-Dezfouli
Date: 2023-04-19T15:09:40Z
New Revision: f830dea050f275a6545f6978155408316c03c96c
URL: https://github.com/llvm/llvm-project/commit/f830dea050f275a6545f6978155408316c03c96c
DIFF: https://github.com/llvm/llvm-project/commit/f830dea050f275a6545f6978155408316c03c96c.diff
LOG: [MLIR] Fix missing ::mlir namespace
Add a missing ::mlir namespace for MixedContainerType
that only triggers if the user is not using namespace mlir.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D147956
Added:
Modified:
mlir/include/mlir/IR/OpBase.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td
index f4aa07ff2a443..5d0843cdf7529 100644
--- a/mlir/include/mlir/IR/OpBase.td
+++ b/mlir/include/mlir/IR/OpBase.td
@@ -894,7 +894,7 @@ class MixedContainerType<Type etype, Pred containerPred, code elementTypesCall,
And<[
containerPred,
Concat<
- "::llvm::all_of(" # elementTypesCall # ", [](Type t) { "
+ "::llvm::all_of(" # elementTypesCall # ", [](::mlir::Type t) { "
"return t && (",
SubstLeaves<"$_self", "t", etype.predicate>,
"); })"
More information about the Mlir-commits
mailing list