Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

headers: Fix dispatch table formatting #83

Conversation

charles-lunarg
Copy link
Collaborator

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.

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.
@charles-lunarg charles-lunarg merged commit b0712df into KhronosGroup:main Aug 25, 2023
10 checks passed
@charles-lunarg charles-lunarg deleted the fix_dispatch_table_code_formatting branch August 25, 2023 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants