Skip to content

Commit 284cf1e

Browse files
committed
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in ODSSupport.cpp (NFC)
1 parent 5ebd598 commit 284cf1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/IR/ODSSupport.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Attribute mlir::convertToAttribute(MLIRContext *ctx, bool storage) {
112112
}
113113

114114
template <typename DenseArrayTy, typename T>
115-
LogicalResult
115+
static LogicalResult
116116
convertDenseArrayFromAttr(MutableArrayRef<T> storage, Attribute attr,
117117
function_ref<InFlightDiagnostic()> emitError,
118118
StringRef denseArrayTyStr) {
@@ -143,7 +143,7 @@ mlir::convertFromAttribute(MutableArrayRef<int32_t> storage, Attribute attr,
143143
}
144144

145145
template <typename DenseArrayTy, typename T>
146-
LogicalResult
146+
static LogicalResult
147147
convertDenseArrayFromAttr(SmallVectorImpl<T> &storage, Attribute attr,
148148
function_ref<InFlightDiagnostic()> emitError,
149149
StringRef denseArrayTyStr) {

0 commit comments

Comments
 (0)