layers: Make uniqueobjects header clang-format proof
authorMark Lobodzinski <mark@lunarg.com>
Wed, 25 Jan 2017 16:56:02 +0000 (09:56 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Wed, 25 Jan 2017 17:24:10 +0000 (10:24 -0700)
Change-Id: I779ed9c2c1d9c7d8d0fcfec4dd89d95c14ee1401

layers/unique_objects.h

index a0fe99e..d115d17 100644 (file)
@@ -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;