Skip to content

Commit 62055be

Browse files
committed
Silence clang warning spam
1 parent 182acfc commit 62055be

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

rpcs3/Emu/RSX/VK/VKMemAlloc.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class VmaRWMutex
4949
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
5050
#ifdef __clang__
5151
#pragma clang diagnostic ignored "-Winconsistent-missing-override"
52+
#pragma clang diagnostic ignored "-Wnullability-completeness"
5253
#else
5354
#pragma GCC diagnostic ignored "-Wsuggest-attribute=noreturn"
5455
#endif

rpcs3/Emu/RSX/VK/vkutils/memory.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
#include "../../rsx_utils.h"
55
#include "shared.h"
66

7+
#ifdef __clang__
8+
#pragma clang diagnostic push
9+
#pragma clang diagnostic ignored "-Wnullability-completeness"
10+
#endif
711
#include "3rdparty/GPUOpen/VulkanMemoryAllocator/include/vk_mem_alloc.h"
12+
#ifdef __clang__
13+
#pragma clang diagnostic pop
14+
#endif
815

916
namespace vk
1017
{

0 commit comments

Comments
 (0)