Skip to content

fix: allow elevator misalignment #6391

fix: allow elevator misalignment

fix: allow elevator misalignment #6391

Triggered via pull request September 19, 2023 14:10
Status Success
Total duration 1h 52m 7s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

clang-tidy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/options.cpp#L1877
insufficient spaces at this location. 2 required, but only 1 found. [cata-text-style]
build: src/grab.cpp#L59
Address of stack memory associated with local variable 'veh' is still referred to by the static variable 'get_wheel_pos' upon returning to the caller. This will be a dangling reference [clang-analyzer-core.StackAddressEscape]
build: src/grab.cpp#L59
Address of stack memory associated with temporary object of type 'tripoint' is still referred to by the static variable 'get_wheel_pos' upon returning to the caller. This will be a dangling reference [clang-analyzer-core.StackAddressEscape]
build: src/npc.h#L1425
function 'npc_overmap::spawn_chance_in_hour' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
build: src/monmove.cpp#L123
Construction of 'tripoint' can be simplified. [cata-simplify-point-constructors]
build: src/monmove.cpp#L123
Construction of 'tripoint' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
build: src/monmove.cpp#L1586
Construction of 'tripoint' can be simplified. [cata-simplify-point-constructors]
build: src/monmove.cpp#L1586
Construction of 'tripoint' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
build: tests/find_auto_consume_test.cpp#L98
Prefer constructing 'tripoint' from named constant 'tripoint_east' rather than explicit integer arguments. [cata-use-named-point-constants]
build: tests/find_auto_consume_test.cpp#L141
Prefer constructing 'tripoint' from named constant 'tripoint_east' rather than explicit integer arguments. [cata-use-named-point-constants]