Skip to content

Update .clang-format to fix deeply nested lambda formatting - #488

Merged
gpx1000 merged 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/305-clang-format-lambdas
Sep 3, 2026
Merged

Update .clang-format to fix deeply nested lambda formatting#488
gpx1000 merged 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/305-clang-format-lambdas

Conversation

@gpx1000

@gpx1000 gpx1000 commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Tested gera2342's proposed settings against the reported sample and they fix it cleanly. Updates the config only - a full reformat pass is a separate decision.

Fixes #305.

@SaschaWillems SaschaWillems left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Did apply this locally and it does indeed improve readability. Though all those C++ lambdas and whatnot are still hard to read ;)

@gpx1000

gpx1000 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Did apply this locally and it does indeed improve readability. Though all those C++ lambdas and whatnot are still hard to read ;)

:) I can't fix that. There's the C version that has the drop down selector boxes though so hopefully it'll be less hard to read.

@gpx1000
gpx1000 merged commit 058f90d into KhronosGroup:main Sep 3, 2026
8 checks passed
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.

Unreadable formatting of lambdas

3 participants