3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-20 15:40:37 +00:00
z3/src/math/lp
davedets 72973b00eb Use "override" keyword where needed. (#9892)
This is another PR towards the goal of getting Z3 to compile cleanly
when included via FetchContents into clang-tidy, which uses a pretty
strict set of warnings.

The PR adds
```
  "-Wsuggest-override"
  "-Winconsistent-missing-override"
 ```
 to the CLANG_ONLY_WARNINGS.  This exposes a relatively small number of places where method overrides did not use the "override" keyword.  The PR fixes those.
 
(In cmd_util.h, I also made the *_CMD macros be uniform in not ending the class they define with a semicolon; the invocation of the macro can add the semicolon.)
2026-06-19 17:36:19 -07:00
..
bound_analyzer_on_row.h Centralize and document TRACE tags using X-macros (#7657) 2025-05-28 14:31:25 +01:00
CMakeLists.txt factor out coi, use polynomial elaboration for nlsat solver (#8039) 2025-11-23 08:59:55 -08:00
column.h add scaffolding for experiments with slack 2025-04-23 17:07:50 -07:00
column_namer.h pretty printing for lp 2025-06-06 11:34:28 +02:00
core_solver_pretty_printer.cpp remove default destructors 2024-10-02 22:20:12 +01:00
core_solver_pretty_printer.h remove default destructors 2024-10-02 22:20:12 +01:00
core_solver_pretty_printer_def.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
cross_nested.h Fix 13 compiler warnings: sign-comparison and unused parameters (#8215) 2026-01-16 16:00:42 -08:00
dense_matrix.cpp set clang format off for lp files (#6795) 2023-07-03 17:35:16 -07:00
dense_matrix.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
dense_matrix_def.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
dioph_eq.cpp Use "override" keyword where needed. (#9892) 2026-06-19 17:36:19 -07:00
dioph_eq.h change the default of running dio to true, and running gcd to false, remove branching in dio 2025-04-18 18:24:50 -07:00
emonics.cpp Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
emonics.h Migrate codebase to std::string_view (except z3++.h) (#8266) 2026-01-21 09:30:41 -08:00
explanation.h remove a few copies 2026-02-10 09:52:03 +00:00
factorization.cpp Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
factorization.h remove unneeded iterator functions 2024-09-23 12:59:04 +01:00
factorization_factory_imp.cpp remove the line with clang-format off 2023-07-10 12:05:59 -07:00
factorization_factory_imp.h remove the line with clang-format off 2023-07-10 12:05:59 -07:00
general_matrix.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
gomory.cpp Centralize and document TRACE tags using X-macros (#7657) 2025-05-28 14:31:25 +01:00
gomory.h remove an unused declaration 2024-01-13 19:11:17 -10:00
hnf.h refactor try_bivar_hensel_lift and outline the algorithm 2026-03-24 06:25:29 -10:00
hnf_cutter.cpp Fix #7951: add cancellation checks to polynomial gcd_prs and HNF computation 2026-02-27 10:26:28 -10:00
hnf_cutter.h Api (#7097) 2024-01-24 16:05:18 -08:00
horner.cpp Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
horner.h u_set replaced by indexed_uint_set (#6841) 2023-08-03 16:01:27 -07:00
implied_bound.h remove a few default constructors 2024-09-23 08:17:58 +01:00
incremental_vector.h remove lp_assert 2025-04-14 11:10:26 -07:00
indexed_value.h delete more default constructors 2024-09-23 12:59:04 +01:00
indexed_vector.cpp print output file name 2025-02-11 12:23:00 -10:00
indexed_vector.h fix out of bounds bug 2025-02-11 12:23:00 -10:00
indexed_vector_def.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
int_branch.cpp Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
int_branch.h remove the line with clang-format off 2023-07-10 12:05:59 -07:00
int_cube.cpp Lcube (#9858) 2026-06-19 17:36:07 -07:00
int_cube.h Lcube (#9858) 2026-06-19 17:36:07 -07:00
int_gcd_test.cpp Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
int_gcd_test.h remove the line with clang-format off 2023-07-10 12:05:59 -07:00
int_solver.cpp Lcube (#9858) 2026-06-19 17:36:07 -07:00
int_solver.h slack 2025-05-12 14:02:17 -07:00
lar_constraints.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
lar_core_solver.cpp remove the line with clang-format off 2023-07-10 12:05:59 -07:00
lar_core_solver.h Fix NLA optimization regression and relax restore_x 2026-03-10 16:38:08 -10:00
lar_core_solver_def.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
lar_solver.cpp Lcube (#9858) 2026-06-19 17:36:07 -07:00
lar_solver.h Lcube (#9858) 2026-06-19 17:36:07 -07:00
lar_term.h Fixes for lar_term== operator (#9284) 2026-04-12 14:31:18 -07:00
lia_move.h remove 'unsat' move, we already have 'conflict'. Add display for cancelled 2025-03-24 07:44:13 -10:00
lp_api.h Replace custom util/optional with std::optional (#8162) 2026-01-11 19:47:39 -08:00
lp_bound_propagator.h Centralize and document TRACE tags using X-macros (#7657) 2025-05-28 14:31:25 +01:00
lp_core_solver_base.cpp use std_vector more and getting NOT_IMPLEMENTING in C:\dev\z3\src\math\lp\dioph_eq.cpp 2025-02-11 12:23:00 -10:00
lp_core_solver_base.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
lp_core_solver_base_def.h Avoid invalidated column-cell references in LP pivot paths (#9783) 2026-06-09 07:36:05 -07:00
lp_params_helper.pyg Lcube (#9858) 2026-06-19 17:36:07 -07:00
lp_primal_core_solver.cpp remove the line with clang-format off 2023-07-10 12:05:59 -07:00
lp_primal_core_solver.h Fix implicit conversion warnings: use UINT_MAX instead of -1 for unsi… (#8342) 2026-01-25 22:35:43 -08:00
lp_primal_core_solver_def.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
lp_primal_core_solver_tableau_def.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
lp_settings.cpp Lcube (#9858) 2026-06-19 17:36:07 -07:00
lp_settings.h Lcube (#9858) 2026-06-19 17:36:07 -07:00
lp_settings_def.h Eliminate unnecessary copy operations in function parameters and range-based loops (#8589) 2026-02-11 21:14:32 +00:00
lp_types.h Api (#7097) 2024-01-24 16:05:18 -08:00
lp_utils.h [WIP] Find and update std::optional usage in code base (#8272) 2026-01-21 19:55:36 -08:00
matrix.cpp remove the line with clang-format off 2023-07-10 12:05:59 -07:00
matrix.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
matrix_def.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
mon_eq.cpp rename monomial to monic 2020-01-28 10:04:21 -08:00
monic.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
monomial_bounds.cpp Improvements to NLA lemmas (#9391) 2026-04-26 21:07:28 +02:00
monomial_bounds.h Improvements to NLA lemmas (#9391) 2026-04-26 21:07:28 +02:00
nex.h Centralize and document TRACE tags using X-macros (#7657) 2025-05-28 14:31:25 +01:00
nex_creator.cpp Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
nex_creator.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
nla_basics_lemmas.cpp fix latent bug in factorization 2025-09-23 10:47:24 +03:00
nla_basics_lemmas.h rename new_lemma to lemma_builder 2025-06-26 16:33:16 -07:00
nla_coi.cpp Nl2lin - integrate a linear under approximation of a CAD cell by Valentin Promies. (#8982) 2026-03-15 06:13:04 -10:00
nla_coi.h Nl2lin - integrate a linear under approximation of a CAD cell by Valentin Promies. (#8982) 2026-03-15 06:13:04 -10:00
nla_common.cpp Centralize and document TRACE tags using X-macros (#7657) 2025-05-28 14:31:25 +01:00
nla_common.h Arith min max (#6864) 2023-08-19 17:44:09 -07:00
nla_core.cpp Nl2lin - integrate a linear under approximation of a CAD cell by Valentin Promies. (#8982) 2026-03-15 06:13:04 -10:00
nla_core.h Add mod-factor-propagation lemma to NLA divisions solver (#9235) 2026-04-05 17:34:11 -07:00
nla_defs.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
nla_divisions.cpp Add mod-factor-propagation lemma to NLA divisions solver (#9235) 2026-04-05 17:34:11 -07:00
nla_divisions.h Add mod-factor-propagation lemma to NLA divisions solver (#9235) 2026-04-05 17:34:11 -07:00
nla_grobner.cpp nla_grobner: add mod_residue pattern to propagate_quotients (#9597) 2026-05-26 18:12:38 -07:00
nla_grobner.h Add adaptive growth knobs for Gröbner under arith.nl.grobner_adaptive (#9390) 2026-04-28 08:50:38 -07:00
nla_intervals.cpp Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
nla_intervals.h Arith min max (#6864) 2023-08-19 17:44:09 -07:00
nla_monotone_lemmas.cpp Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
nla_monotone_lemmas.h consolidate throttling 2025-06-26 16:33:16 -07:00
nla_order_lemmas.cpp Improvements to NLA lemmas (#9391) 2026-04-26 21:07:28 +02:00
nla_order_lemmas.h use the new throttle in order lemmas 2025-06-26 16:33:16 -07:00
nla_powers.cpp evaluate unhandled arithmetic operators based on an initialized model #7876 2025-09-14 06:45:36 -07:00
nla_powers.h remove the line with clang-format off 2023-07-10 12:05:59 -07:00
nla_pp.cpp Nl2lin - integrate a linear under approximation of a CAD cell by Valentin Promies. (#8982) 2026-03-15 06:13:04 -10:00
nla_solver.cpp Add mod-factor-propagation lemma to NLA divisions solver (#9235) 2026-04-05 17:34:11 -07:00
nla_solver.h Add mod-factor-propagation lemma to NLA divisions solver (#9235) 2026-04-05 17:34:11 -07:00
nla_tangent_lemmas.cpp Improvements to NLA lemmas (#9391) 2026-04-26 21:07:28 +02:00
nla_tangent_lemmas.h remove a few default constructors 2024-09-23 08:17:58 +01:00
nla_throttle.cpp remove the parameter for throttling nla lemmas 2025-06-26 16:33:16 -07:00
nla_throttle.h Improvements to NLA lemmas (#9391) 2026-04-26 21:07:28 +02:00
nla_throttle_example.cpp consolidate throttling 2025-06-26 16:33:16 -07:00
nla_types.h Fixes for lar_term== operator (#9284) 2026-04-12 14:31:18 -07:00
nra_solver.cpp Iss9139 fix (#9577) 2026-05-21 06:33:14 -07:00
nra_solver.h Nl2lin - integrate a linear under approximation of a CAD cell by Valentin Promies. (#8982) 2026-03-15 06:13:04 -10:00
numeric_pair.h improved dio handler 2025-03-24 07:44:13 -10:00
permutation_matrix.cpp remove the line with clang-format off 2023-07-10 12:05:59 -07:00
permutation_matrix.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
permutation_matrix_def.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
random_updater.cpp remove the line with clang-format off 2023-07-10 12:05:59 -07:00
random_updater.h u_set replaced by indexed_uint_set (#6841) 2023-08-03 16:01:27 -07:00
random_updater_def.h Centralize and document TRACE tags using X-macros (#7657) 2025-05-28 14:31:25 +01:00
stacked_vector.h remove lp_assert 2025-04-14 11:10:26 -07:00
static_matrix.cpp Avoid invalidated column-cell references in LP pivot paths (#9783) 2026-06-09 07:36:05 -07:00
static_matrix.h Use "override" keyword where needed. (#9892) 2026-06-19 17:36:19 -07:00
static_matrix_def.h Avoid invalidated column-cell references in LP pivot paths (#9783) 2026-06-09 07:36:05 -07:00
test_bound_analyzer.h Standardize for-loop increments to prefix form (++i) (#8199) 2026-01-14 19:55:31 -08:00
var_eqs.h Remove redundant default constructors when they're the only constructor (#8461) 2026-02-01 16:51:26 -08:00
var_register.h Eliminate unnecessary copy operations in function parameters and range-based loops (#8589) 2026-02-11 21:14:32 +00:00