Silence some more clangd warnings

This commit is contained in:
Robbert van der Helm
2021-07-14 17:11:27 +02:00
parent a58005252a
commit f292158889
6 changed files with 8 additions and 2 deletions
@@ -188,6 +188,7 @@ tresult PLUGIN_API YaBStream::write(void* buffer,
return Steinberg::kResultOk;
}
// NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
tresult PLUGIN_API YaBStream::seek(int64 pos, int32 mode, int64* result) {
switch (mode) {
case kIBSeekSet:
@@ -27,6 +27,8 @@
// FIXME: When used in a Boost.Containers small vector, GCC somehow complains
// that the fields in this class may be uninitialized (during the
// deserialization). This warning only shows up during a unity build.
#pragma GCC diagnostic ignored "-Wpragmas"
#pragma clang diagnostic ignored "-Wunknown-warning-option"
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
/**