mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-05-31 17:07:51 +00:00
ci: Add clang-format to CI
This also removes the extra .clang-format in the include directory closes #78
This commit is contained in:
parent
daeab89bb9
commit
678ce607a0
26 changed files with 305 additions and 314 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue