repo: Clang-format LVL source files using Google
Switch clang-format standard from the LLVM style to the
Google style for more consistency.
Change-Id: I247c4abc275d7873a91522e1e234198adaa24033
diff --git a/layers/unique_objects.cpp b/layers/unique_objects.cpp
index 08f1ded..f973ec5 100644
--- a/layers/unique_objects.cpp
+++ b/layers/unique_objects.cpp
@@ -260,8 +260,8 @@
}
static const VkLayerProperties globalLayerProps = {"VK_LAYER_GOOGLE_unique_objects",
- VK_LAYER_API_VERSION, // specVersion
- 1, // implementationVersion
+ VK_LAYER_API_VERSION, // specVersion
+ 1, // implementationVersion
"Google Validation Layer"};
/// Declare prototype for these functions
@@ -269,8 +269,7 @@
static inline PFN_vkVoidFunction layer_intercept_proc(const char *name) {
for (unsigned int i = 0; i < sizeof(procmap) / sizeof(procmap[0]); i++) {
- if (!strcmp(name, procmap[i].name))
- return procmap[i].pFunc;
+ if (!strcmp(name, procmap[i].name)) return procmap[i].pFunc;
}
if (0 == strcmp(name, "vk_layerGetPhysicalDeviceProcAddr")) {
return (PFN_vkVoidFunction)GetPhysicalDeviceProcAddr;
@@ -717,7 +716,7 @@
}
#endif
-} // namespace unique_objects
+} // namespace unique_objects
// vk_layer_logging.h expects these to be defined
VKAPI_ATTR VkResult VKAPI_CALL vkCreateDebugReportCallbackEXT(VkInstance instance,