Disable -Wnullability-completeness for the implementation

This commit is contained in:
Joe Hermaszewski 2020-04-06 18:30:13 +08:00
parent 35939a0fd1
commit 3a756282ab

View File

@ -3778,6 +3778,12 @@ VMA_CALL_PRE void VMA_CALL_POST vmaDestroyImage(
#ifdef VMA_IMPLEMENTATION
#undef VMA_IMPLEMENTATION
// Only the public API has nullability annotations, not the implementation
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnullability-completeness"
#endif
#include <cstdint>
#include <cstdlib>
#include <cstring>
@ -18629,4 +18635,9 @@ VMA_CALL_PRE void VMA_CALL_POST vmaDestroyImage(
}
}
#ifdef __clang__
// -Wnullability-completeness
#pragma clang diagnostic pop
#endif
#endif // #ifdef VMA_IMPLEMENTATION