3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-28 12:58:43 +00:00
z3/src
Copilot ea1ebdeae0
Refactor smt_context to use structured bindings for pair decomposition (#8385)
* Initial plan

* Refactor smt_context.cpp to use C++17 structured bindings for pair patterns

- Replace .first/.second access with structured bindings in reset_tmp_clauses()
- Replace .first/.second access with structured bindings in decide_clause()
- Replace .first/.second access with structured bindings in init_assumptions()
- Eliminate 3 intermediate variable assignments
- 4 refactoring sites across 3 functions
- Verified successful compilation and all tests pass

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>
2026-01-27 11:47:31 -08:00
..
ackermannization Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
api Add polymorphic datatype support to ML API (#8378) 2026-01-27 11:44:35 -08:00
ast Refactor pb_rewriter to use structured bindings for expression/coefficient pairs (#8380) 2026-01-27 11:46:28 -08:00
cmd_context Revert "Refactor find_tactic_cmd to use std::optional<tactic_cmd*> (#8331)" 2026-01-26 13:20:03 -08:00
math Fix implicit conversion warnings: use UINT_MAX instead of -1 for unsi… (#8342) 2026-01-25 22:35:43 -08:00
model Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
muz Fix implicit conversion warnings: use UINT_MAX instead of -1 for unsi… (#8342) 2026-01-25 22:35:43 -08:00
nlsat revive nlsat check_lemma() 2026-01-25 11:38:25 -10:00
opt preserve the initial state of the solver with push/pop for multiple objectives (#8264) 2026-01-23 10:41:03 -08:00
params Add SLS tactic as a separate worker thread (#8263) 2026-01-20 12:52:00 -08:00
parsers Revert "Refactor find_psort_decl() to return std::optional<psort_decl*> (#8339)" 2026-01-26 13:19:51 -08:00
qe Refactor mk_and/mk_or call sites to use vector overloads (#8286) 2026-01-22 13:21:22 -08:00
sat Refactor sat_anf_simplifier to use C++17 structured bindings (#8358) 2026-01-27 09:59:26 -08:00
shell Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
smt Refactor smt_context to use structured bindings for pair decomposition (#8385) 2026-01-27 11:47:31 -08:00
solver Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
tactic Refactor mk_and and mk_app to use std::span API (#8285) 2026-01-22 16:58:38 -08:00
test Expose timestamp method in sls_context (#8347) 2026-01-26 11:27:27 -08:00
util fix underflow bug 2026-01-25 21:10:11 -08:00
CMakeLists.txt BLD: Add CMake option to build Python bindings without rebuilding libz3 (redux) (#8088) 2025-12-16 17:50:37 +00:00