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

clang-format adjustments (backport #3045) #3046

Merged
merged 5 commits into from
Sep 30, 2024
Merged

Commits on Sep 30, 2024

  1. remove private.h

    This is used nowhere.
    
    Signed-off-by: Rosen Penev <[email protected]>
    (cherry picked from commit 10accd3)
    neheb authored and kmilos committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f716a2e View commit details
    Browse the repository at this point in the history
  2. remove ending comment for structs

    Causes issues with newer clang-format.
    
    Signed-off-by: Rosen Penev <[email protected]>
    (cherry picked from commit 52a081a)
    neheb authored and kmilos committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f0a5efd View commit details
    Browse the repository at this point in the history
  3. use auto for lambda

    Seems to cause issues with newer clang-format.
    
    Signed-off-by: Rosen Penev <[email protected]>
    (cherry picked from commit 7bd48d9)
    neheb authored and kmilos committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    ad8676c View commit details
    Browse the repository at this point in the history
  4. get rid of + when using <<

    The former causes issues with newer clang-format.
    
    Signed-off-by: Rosen Penev <[email protected]>
    (cherry picked from commit 7fe36b8)
    neheb authored and kmilos committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    20aa69b View commit details
    Browse the repository at this point in the history
  5. fff: remove pointless comments

    A lot of these are wrong anyway, when adding static_assert, a lot fail.
    
    Signed-off-by: Rosen Penev <[email protected]>
    (cherry picked from commit 1e80c28)
    neheb authored and kmilos committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    5aa59a0 View commit details
    Browse the repository at this point in the history