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

Commit 1ef5fdf

Browse files
committed
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in IRCore.cpp (NFC)
1 parent eb6aa8f commit 1ef5fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Bindings/Python/IRCore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ operations.
196196

197197
/// Helper for creating an @classmethod.
198198
template <class Func, typename... Args>
199-
nb::object classmethod(Func f, Args... args) {
199+
static nb::object classmethod(Func f, Args... args) {
200200
nb::object cf = nb::cpp_function(f, args...);
201201
return nb::borrow<nb::object>((PyClassMethod_New(cf.ptr())));
202202
}

0 commit comments

Comments
 (0)