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

Mehdi Amini llvmlistbot at llvm.org
Wed Aug 27 14:40:03 PDT 2025


Author: Mehdi Amini
Date: 2025-08-27T14:39:22-07:00
New Revision: 284cf1ecb192e7603260213eb116aa723ef505b2

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

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

Added: 
    

Modified: 
    mlir/lib/IR/ODSSupport.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/IR/ODSSupport.cpp b/mlir/lib/IR/ODSSupport.cpp
index 69b4a563e6b75..f2665d24efda6 100644
--- a/mlir/lib/IR/ODSSupport.cpp
+++ b/mlir/lib/IR/ODSSupport.cpp
@@ -112,7 +112,7 @@ Attribute mlir::convertToAttribute(MLIRContext *ctx, bool storage) {
 }
 
 template <typename DenseArrayTy, typename T>
-LogicalResult
+static LogicalResult
 convertDenseArrayFromAttr(MutableArrayRef<T> storage, Attribute attr,
                           function_ref<InFlightDiagnostic()> emitError,
                           StringRef denseArrayTyStr) {
@@ -143,7 +143,7 @@ mlir::convertFromAttribute(MutableArrayRef<int32_t> storage, Attribute attr,
 }
 
 template <typename DenseArrayTy, typename T>
-LogicalResult
+static LogicalResult
 convertDenseArrayFromAttr(SmallVectorImpl<T> &storage, Attribute attr,
                           function_ref<InFlightDiagnostic()> emitError,
                           StringRef denseArrayTyStr) {


        


More information about the Mlir-commits mailing list