Skip to content

Commit 2050967

Browse files
committed
[NFC][mlir] Fully qualify namespace to avoid an MSVC bug
Signed-off-by: yronglin <[email protected]>
1 parent 7fb8630 commit 2050967

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/include/mlir/IR/PatternMatch.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,14 +311,14 @@ struct OpOrInterfaceRewritePatternBase : public RewritePattern {
311311
/// opposed to a raw Operation.
312312
template <typename SourceOp>
313313
struct OpRewritePattern
314-
: public detail::OpOrInterfaceRewritePatternBase<SourceOp> {
314+
: public mlir::detail::OpOrInterfaceRewritePatternBase<SourceOp> {
315315

316316
/// Patterns must specify the root operation name they match against, and can
317317
/// also specify the benefit of the pattern matching and a list of generated
318318
/// ops.
319319
OpRewritePattern(MLIRContext *context, PatternBenefit benefit = 1,
320320
ArrayRef<StringRef> generatedNames = {})
321-
: detail::OpOrInterfaceRewritePatternBase<SourceOp>(
321+
: mlir::detail::OpOrInterfaceRewritePatternBase<SourceOp>(
322322
SourceOp::getOperationName(), benefit, context, generatedNames) {}
323323
};
324324

@@ -327,10 +327,10 @@ struct OpRewritePattern
327327
/// of a raw Operation.
328328
template <typename SourceOp>
329329
struct OpInterfaceRewritePattern
330-
: public detail::OpOrInterfaceRewritePatternBase<SourceOp> {
330+
: public mlir::detail::OpOrInterfaceRewritePatternBase<SourceOp> {
331331

332332
OpInterfaceRewritePattern(MLIRContext *context, PatternBenefit benefit = 1)
333-
: detail::OpOrInterfaceRewritePatternBase<SourceOp>(
333+
: mlir::detail::OpOrInterfaceRewritePatternBase<SourceOp>(
334334
Pattern::MatchInterfaceOpTypeTag(), SourceOp::getInterfaceID(),
335335
benefit, context) {}
336336
};

0 commit comments

Comments
 (0)