Skip to content

feat(port): attunements infrastructure #6326

feat(port): attunements infrastructure

feat(port): attunements infrastructure #6326

Triggered via pull request September 13, 2023 04:22
Status Failure
Total duration 1h 46m 59s
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

6 errors and 10 warnings
build: src/iexamine.cpp#L397
no member named 'spells_known_of_class' in 'Character' [clang-diagnostic-error]
build: src/iexamine.cpp#L413
use of undeclared identifier 'json_flag_ATTUNEMENT' [clang-diagnostic-error]
build: src/iexamine.cpp#L441
too many arguments to function call, expected 3, have 4 [clang-diagnostic-error]
build: src/iexamine.cpp#L452
call to 'has_attunement_spell_prereqs' is ambiguous [clang-diagnostic-error]
build: src/mutation_data.cpp#L623
use of undeclared identifier 'json_character_flag' [clang-diagnostic-error]
build
Process completed with exit code 123.
build: src/explosion.cpp#L552
Variable 'delay_ms' declared as 'const long'. Prefer int or int64_t to long. [cata-no-long]
build: src/explosion.cpp#L552
Static cast to 'long'. Prefer int or int64_t to long. [cata-no-long]
build: src/mapgen.cpp#L86
Variable 'GROUP_NETHER' declared but not used. [cata-unused-statics]
build: src/mapgen.cpp#L88
Variable 'GROUP_ROBOT_SECUBOT' declared but not used. [cata-unused-statics]
build: tests/find_auto_consume_test.cpp#L97
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#L140
Prefer constructing 'tripoint' from named constant 'tripoint_east' rather than explicit integer arguments. [cata-use-named-point-constants]
build: src/grab.cpp#L58
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#L58
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/ranged.cpp#L129
Variable 'skill_dodge' declared but not used. [cata-unused-statics]
build: src/ranged.cpp#L873
'ammo' used after it was moved [bugprone-use-after-move]