[Mlir-commits] [mlir] a8058c1 - [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in AsmPrinter.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Fri Nov 21 04:15:50 PST 2025


Author: Mehdi Amini
Date: 2025-11-21T04:15:31-08:00
New Revision: a8058c177d0e45993108936cfca532d3dab037fc

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

LOG: [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in AsmPrinter.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/IR/AsmPrinter.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp
index 9b23dd6e4f283..fd846e4b4195f 100644
--- a/mlir/lib/IR/AsmPrinter.cpp
+++ b/mlir/lib/IR/AsmPrinter.cpp
@@ -2032,7 +2032,7 @@ class AsmStateImpl {
 };
 
 template <typename Range>
-void printDimensionList(raw_ostream &stream, Range &&shape) {
+static void printDimensionList(raw_ostream &stream, Range &&shape) {
   llvm::interleave(
       shape, stream,
       [&stream](const auto &dimSize) {


        


More information about the Mlir-commits mailing list