Skip to content

Lua table serde: allow non-string types as table keys (#3140) #6399

Lua table serde: allow non-string types as table keys (#3140)

Lua table serde: allow non-string types as table keys (#3140) #6399

Triggered via push September 20, 2023 19:44
Status Success
Total duration 2h 5m 28s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

clang-tidy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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]
build: src/npcmove.cpp#L126
Variable 'itype_UPS' declared but not used. [cata-unused-statics]
build: src/point_rotate.cpp#L12
Construction of 'point' can be simplified using overloaded arithmetic operators. [cata-use-point-arithmetic]
build: src/bionics.cpp#L500
return type 'const std::map<item, bionic_id>' (aka 'const map<item, string_id<bionic_data>>') is 'const'-qualified at the top level, which may reduce code readability without improving const correctness [readability-const-return-type]
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/explosion.cpp#L553
Variable 'delay_ms' declared as 'const long'. Prefer int or int64_t to long. [cata-no-long]
build: src/explosion.cpp#L553
Static cast to 'long'. Prefer int or int64_t to long. [cata-no-long]
build: src/ranged.cpp#L130
Variable 'skill_dodge' declared but not used. [cata-unused-statics]
build: src/ranged.cpp#L874
'ammo' used after it was moved [bugprone-use-after-move]