mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-05-16 01:38:40 +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
|
@ -26,6 +26,9 @@ class EnumStringHelperOutputGenerator(BaseGenerator):
|
|||
''')
|
||||
out.append('''
|
||||
#pragma once
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <string>
|
||||
#endif
|
||||
|
@ -108,4 +111,5 @@ static inline std::string string_{bitmask.flagName}({bitmask.flagName} input_val
|
|||
}}\n''')
|
||||
out.append('#endif // __cplusplus\n')
|
||||
out.extend(guard_helper.addGuard(None))
|
||||
out.append('// clang-format on')
|
||||
self.write("".join(out))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue