Skip to content

Commit 816970b

Browse files
authored
[bazel][mlir][Python] Port llvm#159926: move PDLPatternMatch.h.inc (llvm#160432)
``` external/llvm-project/mlir/lib/CAPI/Transforms/Rewrite.cpp:17:10: error: use of private header from outside its module: 'mlir/IR/PDLPatternMatch.h.inc' [-Wprivate-header] 17 | #include "mlir/IR/PDLPatternMatch.h.inc" | ^ ```
1 parent a664e75 commit 816970b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,14 +367,14 @@ cc_library(
367367
"include/mlir/Bytecode/*.h",
368368
]) + [
369369
"include/mlir/IR/OpAsmOpInterface.h.inc",
370-
"include/mlir/IR/PDLPatternMatch.h.inc",
371370
"include/mlir/Interfaces/DataLayoutInterfaces.h",
372371
"include/mlir/Interfaces/InferIntRangeInterface.h",
373372
"include/mlir/Interfaces/SideEffectInterfaces.h",
374373
],
375374
hdrs = glob([
376375
"include/mlir/IR/*.h",
377376
]) + [
377+
"include/mlir/IR/PDLPatternMatch.h.inc",
378378
"include/mlir/Interfaces/CallInterfaces.h",
379379
"include/mlir/Interfaces/FoldInterfaces.h",
380380
],

0 commit comments

Comments
 (0)