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]
Tá an tiomantas seo le fáil i:
Benjamin Welton údaraithe agus GitHub tiomanta 2024-04-18 18:28:32 -05:00
1 tuismitheoir 360595c82e
tiomantas a81a453940
5 comhad athraithe
+26 -26

Níor tháinig aon chomhaid le do chuardach

@@ -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>