Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit 55a74ab

Browse files
authored
[MLIR][NFC] Fix incomplete boundary comments. (#133516)
I observed that we have the boundary comments in the codebase like: ``` //===----------------------------------------------------------------------===// // ... //===----------------------------------------------------------------------===// ``` I also observed that there are incomplete boundary comments. The revision is generated by a script that completes the boundary comments. ``` //===----------------------------------------------------------------------===// // ... ... ``` Signed-off-by: hanhanW <[email protected]>
1 parent 8cc42ae commit 55a74ab

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

mlir/include/mlir-c/Rewrite.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ mlirRewriterBaseGetContext(MlirRewriterBase rewriter);
4848

4949
//===----------------------------------------------------------------------===//
5050
/// Insertion points methods
51+
//===----------------------------------------------------------------------===//
5152

5253
// These do not include functions using Block::iterator or Region::iterator, as
5354
// they are not exposed by the C API yet. Similarly for methods using
@@ -101,6 +102,7 @@ mlirRewriterBaseGetBlock(MlirRewriterBase rewriter);
101102

102103
//===----------------------------------------------------------------------===//
103104
/// Block and operation creation/insertion/cloning
105+
//===----------------------------------------------------------------------===//
104106

105107
// These functions do not include the IRMapper, as it is not yet exposed by the
106108
// C API.

mlir/lib/CAPI/Transforms/Rewrite.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ MlirContext mlirRewriterBaseGetContext(MlirRewriterBase rewriter) {
2929

3030
//===----------------------------------------------------------------------===//
3131
/// Insertion points methods
32+
//===----------------------------------------------------------------------===//
3233

3334
void mlirRewriterBaseClearInsertionPoint(MlirRewriterBase rewriter) {
3435
unwrap(rewriter)->clearInsertionPoint();
@@ -69,6 +70,7 @@ MlirBlock mlirRewriterBaseGetBlock(MlirRewriterBase rewriter) {
6970

7071
//===----------------------------------------------------------------------===//
7172
/// Block and operation creation/insertion/cloning
73+
//===----------------------------------------------------------------------===//
7274

7375
MlirBlock mlirRewriterBaseCreateBlockBefore(MlirRewriterBase rewriter,
7476
MlirBlock insertBefore,

0 commit comments

Comments
 (0)