mirror of
https://github.com/Z3Prover/z3
synced 2026-06-23 17:10:33 +00:00
* Initial plan * Add [[nodiscard]] to AST factory functions and modernize iterator loops - Added [[nodiscard]] attribute to key factory functions in ast.h: - All mk_app() variants for creating application nodes - All mk_func_decl() variants for creating function declarations - All mk_const() variants for creating constants - All mk_sort() variants for creating sorts - mk_var() for creating variables - mk_quantifier(), mk_forall(), mk_exists(), mk_lambda() for quantifiers - mk_label(), mk_pattern() and related functions - Converted iterator loops to range-based for loops in: - src/util/region.cpp: pop_scope() - src/util/dec_ref_util.h: dec_ref_key_values(), dec_ref_keys(), dec_ref_values() - src/util/mpf.h: dispose() - src/util/numeral_buffer.h: reset() Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Modernize additional iterator loops to range-based for loops - Converted iterator loops to range-based for loops in: - src/api/api_ast_map.cpp: Z3_ast_map_keys() and Z3_ast_map_to_string() - src/api/c++/z3++.h: optimize copy constructor and add() method - src/opt/wmax.cpp: mk_assumptions() Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Revert changes to z3++.h for C++ version compatibility Revert the range-based for loop changes in src/api/c++/z3++.h to maintain compatibility with older C++ versions that users may rely on. The C++ API wrapper must support down-level C++ standards for backward compatibility. Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Trigger CI build [skip ci] is not used to ensure CI runs --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| converters | ||
| euf | ||
| fpa | ||
| macros | ||
| normal_forms | ||
| pattern | ||
| proofs | ||
| rewriter | ||
| simplifiers | ||
| sls | ||
| substitution | ||
| act_cache.cpp | ||
| act_cache.h | ||
| arith_decl_plugin.cpp | ||
| arith_decl_plugin.h | ||
| array_decl_plugin.cpp | ||
| array_decl_plugin.h | ||
| array_peq.cpp | ||
| array_peq.h | ||
| ast.cpp | ||
| ast.h | ||
| ast_ll_pp.cpp | ||
| ast_ll_pp.h | ||
| ast_lt.cpp | ||
| ast_lt.h | ||
| ast_pp.h | ||
| ast_pp_dot.cpp | ||
| ast_pp_dot.h | ||
| ast_pp_util.cpp | ||
| ast_pp_util.h | ||
| ast_printer.cpp | ||
| ast_printer.h | ||
| ast_smt2_pp.cpp | ||
| ast_smt2_pp.h | ||
| ast_smt_pp.cpp | ||
| ast_smt_pp.h | ||
| ast_trail.h | ||
| ast_translation.cpp | ||
| ast_translation.h | ||
| ast_util.cpp | ||
| ast_util.h | ||
| bv_decl_plugin.cpp | ||
| bv_decl_plugin.h | ||
| char_decl_plugin.cpp | ||
| char_decl_plugin.h | ||
| CMakeLists.txt | ||
| cost_evaluator.cpp | ||
| cost_evaluator.h | ||
| datatype_decl_plugin.cpp | ||
| datatype_decl_plugin.h | ||
| decl_collector.cpp | ||
| decl_collector.h | ||
| display_dimacs.cpp | ||
| display_dimacs.h | ||
| dl_decl_plugin.cpp | ||
| dl_decl_plugin.h | ||
| expr2polynomial.cpp | ||
| expr2polynomial.h | ||
| expr2var.cpp | ||
| expr2var.h | ||
| expr_abstract.cpp | ||
| expr_abstract.h | ||
| expr_delta_pair.h | ||
| expr_functors.cpp | ||
| expr_functors.h | ||
| expr_map.cpp | ||
| expr_map.h | ||
| expr_stat.cpp | ||
| expr_stat.h | ||
| expr_substitution.cpp | ||
| expr_substitution.h | ||
| for_each_ast.cpp | ||
| for_each_ast.h | ||
| for_each_expr.cpp | ||
| for_each_expr.h | ||
| format.cpp | ||
| format.h | ||
| fpa_decl_plugin.cpp | ||
| fpa_decl_plugin.h | ||
| func_decl_dependencies.cpp | ||
| func_decl_dependencies.h | ||
| has_free_vars.cpp | ||
| has_free_vars.h | ||
| is_variable_test.h | ||
| justified_expr.h | ||
| macro_substitution.cpp | ||
| macro_substitution.h | ||
| num_occurs.cpp | ||
| num_occurs.h | ||
| occurs.cpp | ||
| occurs.h | ||
| pb_decl_plugin.cpp | ||
| pb_decl_plugin.h | ||
| polymorphism_inst.cpp | ||
| polymorphism_inst.h | ||
| polymorphism_util.cpp | ||
| polymorphism_util.h | ||
| pp.cpp | ||
| pp.h | ||
| pp_params.pyg | ||
| quantifier_stat.cpp | ||
| quantifier_stat.h | ||
| recfun_decl_plugin.cpp | ||
| recfun_decl_plugin.h | ||
| recurse_expr.h | ||
| recurse_expr_def.h | ||
| reg_decl_plugins.cpp | ||
| reg_decl_plugins.h | ||
| scoped_proof.h | ||
| seq_decl_plugin.cpp | ||
| seq_decl_plugin.h | ||
| shared_occs.cpp | ||
| shared_occs.h | ||
| special_relations_decl_plugin.cpp | ||
| special_relations_decl_plugin.h | ||
| static_features.cpp | ||
| static_features.h | ||
| used_symbols.h | ||
| used_vars.cpp | ||
| used_vars.h | ||
| value_generator.cpp | ||
| value_generator.h | ||
| well_sorted.cpp | ||
| well_sorted.h | ||