3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-08-09 23:42:21 +00:00
z3/cmake
Nikolaj Bjorner 466a5620e1
Merge build warning fixes by davedets into Master (#10460)
Imports the `davedets:master` covered-switch-default cleanup into
`Detlefs`.

- **Warning cleanup**
  - Removes redundant `default` cases across exhaustive enum switches.
  - Enables Clang’s `-Wcovered-switch-default`.

- **Portability**
  - Adds the non-Clang no-op for statement-context warning suppression.
  - Retains the arithmetic solver fallback for unrecognized solver IDs.

```cpp
START_DISABLE_COVERED_SWITCH_DEFAULT
default:
    m_context.register_plugin(alloc(smt::theory_mi_arith, m_context));
    break;
END_DISABLE_WARNING_STMT
```

---------

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: David Detlefs <daviddetlefs@gmail.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-08-08 16:17:39 -07:00
..
modules Bump dotnet example target framework from netcoreapp2.0 to net8.0 (#9531) 2026-05-14 15:17:41 -07:00
check_link_atomic.cmake cmake: skip std::atomic link check for Emscripten and single-threaded builds (#9932) 2026-06-23 14:05:02 -06:00
cmake_uninstall.cmake.in
compiler_lto.cmake clean up CMake code (#5182) 2021-04-14 10:29:15 -07:00
compiler_warnings.cmake Merge build warning fixes by davedets into Master (#10460) 2026-08-08 16:17:39 -07:00
cxx_compiler_flags_overrides.cmake
git_utils.cmake Use '--tags' rather than '--long' for git describe. Closes #6823 (#7833) 2025-08-29 14:15:38 -07:00
msvc_legacy_quirks.cmake clean up CMake code (#5182) 2021-04-14 10:29:15 -07:00
target_arch_detect.cmake
target_arch_detect.cpp set ARM64 if detected under OSX 2022-04-07 08:35:56 +02:00
z3_add_component.cmake cmake: prevent install_tactic.deps from triggering spurious rebuilds on reconfigure (#10102) 2026-07-12 20:07:41 -07:00
z3_add_cxx_flag.cmake
z3_append_linker_flag_list_to_target.cmake mux 2019-06-05 09:06:17 +01:00
Z3Config.cmake.in Fix Z3Config.cmake.in when generating a static library (#5555) 2021-09-17 18:03:10 +01:00