Skip to content

Commit 5ea4cca

Browse files
committed
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in SparseBufferRewriting.cpp (NFC)
1 parent c7f3bdb commit 5ea4cca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,8 +1219,9 @@ static void createQuickSortFunc(OpBuilder &builder, ModuleOp module,
12191219

12201220
/// Implements the rewriting for operator sort and sort_coo.
12211221
template <typename OpTy>
1222-
LogicalResult matchAndRewriteSortOp(OpTy op, ValueRange xys, AffineMap xPerm,
1223-
uint64_t ny, PatternRewriter &rewriter) {
1222+
static LogicalResult matchAndRewriteSortOp(OpTy op, ValueRange xys,
1223+
AffineMap xPerm, uint64_t ny,
1224+
PatternRewriter &rewriter) {
12241225
Location loc = op.getLoc();
12251226
SmallVector<Value> operands{constantIndex(rewriter, loc, 0), op.getN()};
12261227

0 commit comments

Comments
 (0)