From 9ecda2df2c368e27530aa06b05f68344c21e5d3f Mon Sep 17 00:00:00 2001 From: Steven Johnson Date: Thu, 2 Jan 2025 13:13:57 -0800 Subject: [PATCH] Suppress clang-tidy warning for make_with_shape_of() (#8545) --- src/runtime/HalideBuffer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/HalideBuffer.h b/src/runtime/HalideBuffer.h index 8f25bf45e95e..a02e0588afac 100644 --- a/src/runtime/HalideBuffer.h +++ b/src/runtime/HalideBuffer.h @@ -1991,6 +1991,7 @@ class Buffer { /** Make a buffer with the same shape and memory nesting order as * another buffer. It may have a different type. */ template + // NOLINTNEXTLINE(performance-unnecessary-value-param) static Buffer make_with_shape_of(Buffer src, void *(*allocate_fn)(size_t) = nullptr, void (*deallocate_fn)(void *) = nullptr) {