mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-05-14 16:58:43 +00:00

The code did not follow the provided clang-format file, which causes conflict when a developer runs clang-format on the repo. This commit fixes the generator so that the output is what clang-format would generate. One issue is that clang-format's ColumnLimit will wrap long lines, and is very difficult to replicate in python code without excessive changes. The chosen solution is to use a custom clang-format file for the Utilities folder which ignores the ColumnLimit.
16 lines
367 B
YAML
16 lines
367 B
YAML
# Copyright 2023 The Khronos Group Inc.
|
|
# Copyright 2023 Valve Corporation
|
|
# Copyright 2023 LunarG, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
---
|
|
# Use defaults from the Google style with the following exceptions:
|
|
BasedOnStyle: Google
|
|
IndentWidth: 4
|
|
AccessModifierOffset: -2
|
|
# Modify Disable column limit in generated code
|
|
ColumnLimit: 0
|
|
SortIncludes: false
|
|
...
|
|
|