refactor: use C++20 string::{starts,ends}_with
#8730
Annotations
11 warnings
run clang-tidy:
src/debug.cpp#L254
use 'contains' to check for membership [readability-container-contains]
|
run clang-tidy:
src/debug.cpp#L680
performing an implicit widening conversion to type '__off_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result]
|
run clang-tidy:
src/debug.cpp#L1301
multilevel pointer conversion from 'char **' to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion]
|
run clang-tidy:
src/construction.cpp#L380
use 'contains' to check for membership [readability-container-contains]
|
run clang-tidy:
src/construction.cpp#L1139
use 'contains' to check for membership [readability-container-contains]
|
run clang-tidy:
src/construction.cpp#L1550
use 'contains' to check for membership [readability-container-contains]
|
run clang-tidy:
src/cata_tiles.cpp#L216
initializer for member 'pos' is redundant [readability-redundant-member-init]
|
run clang-tidy:
src/cata_tiles.cpp#L293
conversion from 'std::optional<tile_lookup_res>' into 'tile_lookup_res' and back into 'std::optional<tile_lookup_res>', remove potentially error-prone optional dereference [bugprone-optional-value-conversion]
|
run clang-tidy:
src/cata_tiles.cpp#L545
preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
|
run clang-tidy:
src/cata_tiles.cpp#L949
use 'contains' to check for membership [readability-container-contains]
|
Post checkout repository
The process '/usr/bin/git' failed with exit code 128
|
Loading