mirror of
https://github.com/Z3Prover/z3
synced 2026-02-20 07:24:40 +00:00
Replace fall-through comments with Z3_fallthrough macro (#8219)
* Initial plan * Fix switch fall-through warnings with Z3_fallthrough attribute Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
c8d6b3161f
commit
de825be4c7
5 changed files with 4 additions and 5 deletions
|
|
@ -552,7 +552,7 @@ namespace smt {
|
|||
switch (is_true) {
|
||||
case l_false:
|
||||
lit.neg();
|
||||
// fall-through
|
||||
Z3_fallthrough;
|
||||
case l_true:
|
||||
ctx.mk_th_axiom(get_id(), 1, &lit);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue