Skip to content

Fix C++ clang-format violations #103

Description

@lavrovvalera

Important

Link the implementing PR to this issue by including Closes #<issue_number>
in the PR description or commit message.

What

Fix all C++ clang-format violations detected by the clang-format CI job introduced in PR #102.

To collect all violations, you can use

bazel build --keep_going --config=clang_format //score/... //examples/...`

Once the codebase is clean, remove the continue-on-error: true guard from the
C++ clang-format check job so it becomes a blocking CI gate.

Acceptance Criteria

  • bazel build --keep_going --config=clang_format //score/... //examples/... reports zero first-party violations (no output from the filter step)
  • Process / FormattingC++ clang-format check CI job passes without violations in the uploaded artifact
  • continue-on-error: true removed from the clang-format job in .github/workflows/format.yml

How

Identify affected files and apply the formatter:

bazel build --keep_going --config=clang_format //score/... //examples/... 2>&1 \
  | grep "clang-formatted" | grep "^$(pwd)" | cut -d: -f1 | sort -u \
  | xargs clang-format -i

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Task.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions