3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-12 20:04:08 +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:
Copilot 2026-01-16 19:54:31 -08:00 committed by GitHub
parent a574f97ebd
commit 6ec2d4bc8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 4 additions and 5 deletions

View file

@ -175,7 +175,7 @@ namespace datalog {
switch(search(depth-1, index+1)) {
case l_undef:
status = l_undef;
// fallthrough
Z3_fallthrough;
case l_false:
m_goals.resize(num_goals);
break;