ci: Add clang-format to CI

This also removes the extra .clang-format in the include directory

closes #78
This commit is contained in:
Juan Ramos 2023-11-10 13:17:53 -07:00 committed by Juan Ramos
parent daeab89bb9
commit 678ce607a0
26 changed files with 305 additions and 314 deletions

View file

@ -41,6 +41,8 @@ class StructHelperOutputGenerator(BaseGenerator):
#pragma once
#include <vulkan/vulkan.h>
// clang-format off
namespace vku {
template <typename T>
@ -139,4 +141,5 @@ template<typename T> VkObjectType GetObjectType() {
\n''')
out.append('// NOLINTEND') # Wrap for clang-tidy to ignore
out.append('// clang-format on')
self.write("".join(out))