Skip to content

Commit

Permalink
Suppress clang-tidy warning for make_with_shape_of() (#8545)
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-johnson authored Jan 2, 2025
1 parent 6b9f786 commit 9ecda2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/HalideBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<typename T2, int D2, int S2>
// NOLINTNEXTLINE(performance-unnecessary-value-param)
static Buffer<T, Dims, InClassDimStorage> make_with_shape_of(Buffer<T2, D2, S2> src,
void *(*allocate_fn)(size_t) = nullptr,
void (*deallocate_fn)(void *) = nullptr) {
Expand Down

0 comments on commit 9ecda2d

Please sign in to comment.