clang-18 warning fixes (part 1) (#785)

* clang-18 warning fixes (part 1)

* format fixes

* More format fixes

* More format fixes

[ROCm/rocprofiler-sdk commit: c668028781]
Ta zmiana jest zawarta w:
Benjamin Welton authored and GitHub committed 2024-04-18 18:28:32 -05:00
1 rodzic 360595c82e
złożenie a81a453940
5 plików zmienionych
+26 -26

Żadne pliki nie pasują do Twojego wyszukiwania

@@ -698,7 +698,7 @@ write_ring_buffer(Tb* _v, buffer_type_t type)
ptr = _tmp_buf->request(false);
CHECK(ptr != nullptr);
}
*ptr = std::move(*reinterpret_cast<Tb*>(_v));
*ptr = std::move(*_v);
}
template <typename Tp>