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

Commit 9467b3b

Browse files
committed
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in BuiltinTypes.cpp (NFC)
1 parent a2f826c commit 9467b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/CAPI/IR/BuiltinTypes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ MlirType mlirUnrankedTensorTypeGetChecked(MlirLocation loc,
465465
return wrap(UnrankedTensorType::getChecked(unwrap(loc), unwrap(elementType)));
466466
}
467467

468-
MlirType mlirUnrankedTensorTypeGetElementType(MlirType type) {
468+
static MlirType mlirUnrankedTensorTypeGetElementType(MlirType type) {
469469
return wrap(llvm::cast<UnrankedTensorType>(unwrap(type)).getElementType());
470470
}
471471

0 commit comments

Comments
 (0)