Skip to content

Disable formatting in generated test code#1699

Merged
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
charles-lunarg:disable_formatting_of_generated_test_code
May 14, 2025
Merged

Disable formatting in generated test code#1699
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
charles-lunarg:disable_formatting_of_generated_test_code

Conversation

@charles-lunarg

Copy link
Copy Markdown
Collaborator

There is not much benefit in formatting the generated code, especially since different clang-format versions handle line breaks differently, causing lots of noise when generating source code.

This also makes developing without clang-format to be a bit easier, since the generated code is already properly formatted (for the most part).

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 443038.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3027 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 443056.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3028 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3028 passed.

@jjulianoatnv jjulianoatnv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you for quick response on this.

@charles-lunarg

Copy link
Copy Markdown
Collaborator Author

No clue why mingw compiler started failing, but I highly doubt it was due to this change, since it is CMake declaring the compiler non-functional so it isn't even compiling the changed source files. Going to go ahead with the merge.

@charles-lunarg charles-lunarg merged commit aa39480 into KhronosGroup:main May 14, 2025
43 of 44 checks passed
@charles-lunarg charles-lunarg deleted the disable_formatting_of_generated_test_code branch May 14, 2025 15:40
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.

3 participants