From 3522f640f85867cbceb768a42881829d7258a743 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Wed, 25 Jan 2017 09:56:02 -0700 Subject: [PATCH] layers: Make uniqueobjects header clang-format proof Change-Id: I779ed9c2c1d9c7d8d0fcfec4dd89d95c14ee1401 --- layers/unique_objects.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layers/unique_objects.h b/layers/unique_objects.h index a0fe99e..d115d17 100644 --- a/layers/unique_objects.h +++ b/layers/unique_objects.h @@ -30,6 +30,9 @@ namespace unique_objects { +// The clang-format utility does not handle non-delimited strings well at all +// clang-format off + // The display-server-specific WSI extensions are handled explicitly static const char *kUniqueObjectsSupportedInstanceExtensions = #ifdef VK_USE_PLATFORM_XLIB_KHR @@ -80,6 +83,8 @@ static const char *kUniqueObjectsSupportedDeviceExtensions = #endif VK_NV_EXTERNAL_MEMORY_EXTENSION_NAME; +// clang-format on + // All increments must be guarded by global_lock static uint64_t global_unique_id = 1; -- 2.7.4