Skip to content

Implement a better way to wrap text containing color tags #80679

Implement a better way to wrap text containing color tags

Implement a better way to wrap text containing color tags #80679

Triggered via pull request September 19, 2024 08:03
Status Failure
Total duration 3h 16m 41s
Artifacts

clang-tidy.yml

on: pull_request
skip-duplicates
8s
skip-duplicates
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build (src): src/text.cpp#L26
Parameter 'str' of 'parse_colored_text' can be std::string_view. [cata-use-string_view,-warnings-as-errors]
build (src): src/text.cpp#L37
Parameter 'str' of 'Paragraph' can be std::string_view. [cata-use-string_view,-warnings-as-errors]
build (src): src/text.cpp#L257
Avoid auto in declaration of 'seg'. [cata-almost-never-auto,-warnings-as-errors]
build (src): src/text.cpp#L273
Parameter 'para' of 'TextParagraph' can be std::string_view. [cata-use-string_view,-warnings-as-errors]
build (src): src/third-party/imgui/imstb_textedit.h#L302
use 'using' instead of 'typedef' [modernize-use-using,-warnings-as-errors]
build (src): src/third-party/imgui/imstb_textedit.h#L311
use 'using' instead of 'typedef' [modernize-use-using,-warnings-as-errors]
build (src): src/third-party/imgui/imstb_textedit.h#L314
do not declare C-style arrays, use std::array<> instead [modernize-avoid-c-arrays,-warnings-as-errors]
build (src): src/third-party/imgui/imstb_textedit.h#L320
use 'using' instead of 'typedef' [modernize-use-using,-warnings-as-errors]
build (src): src/third-party/imgui/imstb_textedit.h#L367
use 'using' instead of 'typedef' [modernize-use-using,-warnings-as-errors]
build (src): src/third-party/imgui/imstb_textedit.h#L374
#endif for a header guard should reference the guard macro in a comment. [cata-header-guard,-warnings-as-errors]