Skip to content

Apply clang-tidy fixes #7818

Apply clang-tidy fixes

Apply clang-tidy fixes #7818

Triggered via pull request September 1, 2026 07:32
Status Success
Total duration 5m 27s
Artifacts 7

builds.yml

on: pull_request
πŸ“Š Code style, file formatting, and docs
24s
πŸ“Š Code style, file formatting, and docs
Matrix: πŸ› οΈ Build / build-matrix
πŸ“š Merge Library Files
1m 6s
πŸ“š Merge Library Files
βœ… Validate Success
3s
βœ… Validate Success
Fit to window
Zoom out
Zoom in

Annotations

47 warnings
πŸ› οΈ Build / 🐧 Linux Release: out/build/linux-x64/_deps/range-v3-src/include/concepts/swap.hpp#L158
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
πŸ› οΈ Build / 🐧 Linux Release: out/build/linux-x64/_deps/range-v3-src/include/concepts/swap.hpp#L158
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
πŸ› οΈ Build / 🐧 Linux Release: out/build/linux-x64/_deps/range-v3-src/include/concepts/swap.hpp#L158
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
πŸ› οΈ Build / 🐧 Linux Release: out/build/linux-x64/_deps/range-v3-src/include/concepts/swap.hpp#L158
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
πŸ› οΈ Build / 🐧 Linux Release: out/build/linux-x64/_deps/range-v3-src/include/concepts/swap.hpp#L158
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
πŸ› οΈ Build / 🐧 Linux Release: out/build/linux-x64/_deps/range-v3-src/include/concepts/swap.hpp#L158
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
πŸ› οΈ Build / 🐧 Linux Release: out/build/linux-x64/_deps/range-v3-src/include/concepts/swap.hpp#L158
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
πŸ› οΈ Build / 🐧 Linux Release: out/build/linux-x64/_deps/range-v3-src/include/concepts/swap.hpp#L158
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
πŸ› οΈ Build / 🐧 Linux Release: out/build/linux-x64/_deps/range-v3-src/include/concepts/swap.hpp#L158
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
πŸ› οΈ Build / 🐧 Linux Release: out/build/linux-x64/_deps/range-v3-src/cmake/ranges_env.cmake#L92
[range-v3 warning]: unknown build type, defaults to release!
πŸ› οΈ Build / 🏁 Windows Release: src/openvic-simulation/misc/GameRulesManager.cpp#L43
'OpenVic::GameRulesManager::may_use_coastal_factory_production_types': not all control paths return a value
πŸ› οΈ Build / 🏁 Windows Release: src/openvic-simulation/misc/GameRulesManager.cpp#L27
'OpenVic::GameRulesManager::may_use_coastal_artisanal_production_types': not all control paths return a value
πŸ› οΈ Build / 🏁 Windows Release
'argument': conversion from 'size_t' to 'T', possible loss of data
πŸ› οΈ Build / 🏁 Windows Release: src/openvic-simulation/core/error/Error.hpp#L64
'OpenVic::as_string': not all control paths return a value
πŸ› οΈ Build / 🏁 Windows Release: src/openvic-simulation/country/CountryInstance.cpp#L384
'OpenVic::CountryInstance::may_build_in': not all control paths return a value
πŸ› οΈ Build / 🏁 Windows Release: out/build/windows-x64-md/_deps/range-v3-src/cmake/ranges_env.cmake#L92
[range-v3 warning]: unknown build type, defaults to release!
πŸ› οΈ Build / 🐧 Linux Debug: src/openvic-simulation/misc/GameRulesManager.cpp#L43
control reaches end of non-void function [-Wreturn-type]
πŸ› οΈ Build / 🐧 Linux Debug: src/openvic-simulation/misc/GameRulesManager.cpp#L27
control reaches end of non-void function [-Wreturn-type]
πŸ› οΈ Build / 🐧 Linux Debug: src/openvic-simulation/core/error/Error.hpp#L64
control reaches end of non-void function [-Wreturn-type]
πŸ› οΈ Build / 🐧 Linux Debug: src/openvic-simulation/country/CountryInstance.cpp#L384
control reaches end of non-void function [-Wreturn-type]
πŸ› οΈ Build / 🐧 Linux Debug: out/build/linux-x64/_deps/range-v3-src/cmake/ranges_env.cmake#L92
[range-v3 warning]: unknown build type, defaults to release!
πŸ› οΈ Build / 🍎 macOS (universal) Release: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Release: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Release: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Release: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Release: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Release: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Release: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Release: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Release
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
πŸ› οΈ Build / 🏁 Windows Debug: src/openvic-simulation/misc/GameRulesManager.cpp#L43
'OpenVic::GameRulesManager::may_use_coastal_factory_production_types': not all control paths return a value
πŸ› οΈ Build / 🏁 Windows Debug: src/openvic-simulation/misc/GameRulesManager.cpp#L27
'OpenVic::GameRulesManager::may_use_coastal_artisanal_production_types': not all control paths return a value
πŸ› οΈ Build / 🏁 Windows Debug
'argument': conversion from 'size_t' to 'T', possible loss of data
πŸ› οΈ Build / 🏁 Windows Debug: src/openvic-simulation/country/CountryInstance.cpp#L384
'OpenVic::CountryInstance::may_build_in': not all control paths return a value
πŸ› οΈ Build / 🏁 Windows Debug: src/openvic-simulation/core/error/Error.hpp#L64
'OpenVic::as_string': not all control paths return a value
πŸ› οΈ Build / 🏁 Windows Debug: out/build/windows-x64-md/_deps/range-v3-src/cmake/ranges_env.cmake#L92
[range-v3 warning]: unknown build type, defaults to release!
πŸ› οΈ Build / 🍎 macOS (universal) Debug: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Debug: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Debug: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Debug: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Debug: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Debug: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Debug: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Debug: src/openvic-simulation/core/object/Colour.hpp#L886
enumeration value 'none' not handled in switch [-Wswitch]
πŸ› οΈ Build / 🍎 macOS (universal) Debug
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust

Artifacts

Produced during runtime
Name Size Digest
OpenVic-Simulation-library
340 MB
sha256:68f0f95f276b2ded443836c82b4eb6e8a02f7dfd84fb9765ce6a4bc70672f1c2
OpenVic-Simulation-linux-debug-executable
76.3 MB
sha256:7fd55f73036d5cce8ca6adfaebffa47b5c3f8cadfafd49d1bb1926aee94ff705
OpenVic-Simulation-linux-release-executable
2.71 MB
sha256:d6af191a6a54e99d129025655573d32cea285573667ba89366f33bce0072bbed
OpenVic-Simulation-macos-debug-executable
12.2 MB
sha256:d4c071e1a42ae0a6e9fbe557dafeb0b61629b9b2839f82897963e33c2c0c662e
OpenVic-Simulation-macos-release-executable
2.71 MB
sha256:66012ec1c8c190a75043a6de0df24a5005707e74f1e41791edd334b223f871ea
OpenVic-Simulation-windows-debug-executable
73.8 MB
sha256:a39e6ab753d5cf8147b2deee8e21366f9fc34a292ef31e5a7c8a4822ebd3f641
OpenVic-Simulation-windows-release-executable
1.3 MB
sha256:106398ef0b52f76b010cf57f78a458fa38e76f716815504e4d481a168ae003a4