Skip to content

Fix clang-format violations in proof rule string mapping - #14

Draft
yoni206 with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-check-code-formatting-job
Draft

Fix clang-format violations in proof rule string mapping#14
yoni206 with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-check-code-formatting-job

Conversation

Copilot AI commented Jun 28, 2026

Copy link
Copy Markdown

The Check code formatting GitHub Actions job failed due to clang-format violations in src/api/cpp/cvc5_proof_rule_template.cpp. The failure was isolated to two ProofRule switch cases introduced with multi-line formatting that does not match repository clang-format expectations.

  • Formatting-only correction in proof rule template
    • Normalized two case statements to clang-format-compliant single-line form in toString(ProofRule rule):
      • ProofRule::ARITH_POW2_MONOTONE
      • ProofRule::ARITH_POW2_LOWER_BOUND
    • No semantic or control-flow changes.
case ProofRule::ARITH_POW2_MONOTONE: return "ARITH_POW2_MONOTONE";
case ProofRule::ARITH_POW2_LOWER_BOUND: return "ARITH_POW2_LOWER_BOUND";

Copilot AI changed the title [WIP] Fix failing GitHub Actions job Check code formatting Fix clang-format violations in proof rule string mapping Jun 28, 2026
Copilot AI requested a review from yoni206 June 28, 2026 19:12
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.

2 participants