Skip to content

Commit 68fbb0f

Browse files
committed
add comment for c api
1 parent f5c348e commit 68fbb0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mlir/include/mlir-c/Rewrite.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ mlirRewriterBaseGetInsertionBlock(MlirRewriterBase rewriter);
101101
MLIR_CAPI_EXPORTED MlirBlock
102102
mlirRewriterBaseGetBlock(MlirRewriterBase rewriter);
103103

104+
/// Returns the operation right after the current insertion point
105+
/// of the rewriter. A null MlirOperation will be returned
106+
// if the current insertion block is empty.
104107
MLIR_CAPI_EXPORTED MlirOperation
105108
mlirRewriterBaseGetOperationAfterInsertion(MlirRewriterBase rewriter);
106109

0 commit comments

Comments
 (0)