Skip to content

Commit 387f80a

Browse files
joker-ephgithub-actions[bot]
authored andcommitted
Automerge: [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in IRCore.cpp (NFC)
2 parents 2382f82 + e007a38 commit 387f80a

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)