[Mlir-commits] [mlir] 21e6777 - [mlir][NFC] Add rewrite header to fix standalone header compile (#99370)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Jul 17 11:50:38 PDT 2024


Author: Jordan Rupprecht
Date: 2024-07-17T13:50:35-05:00
New Revision: 21e6777957457451196084cd48ebc42bce9619f0

URL: https://github.com/llvm/llvm-project/commit/21e6777957457451196084cd48ebc42bce9619f0
DIFF: https://github.com/llvm/llvm-project/commit/21e6777957457451196084cd48ebc42bce9619f0.diff

LOG: [mlir][NFC] Add rewrite header to fix standalone header compile (#99370)

This uses `MlirRewriterBase` from from `mlir-c/Rewrite.h` without
including it.

Added: 
    

Modified: 
    mlir/include/mlir/CAPI/Rewrite.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/CAPI/Rewrite.h b/mlir/include/mlir/CAPI/Rewrite.h
index f0bb9337e49ea..1038c0a575cf2 100644
--- a/mlir/include/mlir/CAPI/Rewrite.h
+++ b/mlir/include/mlir/CAPI/Rewrite.h
@@ -15,6 +15,7 @@
 #ifndef MLIR_CAPI_REWRITE_H
 #define MLIR_CAPI_REWRITE_H
 
+#include "mlir-c/Rewrite.h"
 #include "mlir/CAPI/Wrap.h"
 #include "mlir/IR/PatternMatch.h"
 


        


More information about the Mlir-commits mailing list