Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Old clang format file was extremely broken,
causing issues when viewing, and also featuring stale values.code on github
The main reason for this is the GitHub thing. Github uses a repos clang format file to format code views (i.e. indent size), and since the old file is broken, the diffs are very hard to read, and nested code is completely unreadable.I don't know if the updates here will allow us to enable clang-format for everyone, especially since the lambda formatter requires clang-format-11, but this should at least alleviate some issues. There seems to still be some strange behavior with lambdas when embedding in a block. For example,becomes
So I'm not sure if its really a fix.
Also, this is a good opportunity to reconsider what styles we want to actually enforce moving forward.
If it doesn't seem worth it yet to address, might be easiest to just close the PR.