Skip to content

[DRAFT FOR TESTS] adding clang tidy comments on modified code #504

[DRAFT FOR TESTS] adding clang tidy comments on modified code

[DRAFT FOR TESTS] adding clang tidy comments on modified code #504

Triggered via pull request November 21, 2025 13:26
@atsjuatsju
synchronize #279
JST/clang-tidy
Status Success
Total duration 9m 34s
Artifacts

build-linux.yml

on: pull_request
Matrix: build-linux
Fit to window
Zoom out
Zoom in

Annotations

12 warnings and 1 notice
main.cpp:167:5 [readability-static-accessed-through-instance]: main.cpp#L167
static member accessed through instance
main.cpp:166:5 [readability-static-accessed-through-instance]: main.cpp#L166
static member accessed through instance
main.cpp:157:7 [readability-else-after-return]: main.cpp#L157
do not use 'else' after 'return'
main.cpp:155:26 [readability-static-accessed-through-instance]: main.cpp#L155
static member accessed through instance
main.cpp:145:23 [readability-container-data-pointer]: main.cpp#L145
'data' should be used for accessing the data pointer instead of taking the address of the 0-th element
main.cpp:124:5 [modernize-use-trailing-return-type]: main.cpp#L124
use a trailing return type for this function
main.cpp:124:5 [bugprone-exception-escape]: main.cpp#L124
an exception may be thrown in function 'main' which should not throw exceptions
main.cpp:114:12 [modernize-use-trailing-return-type]: main.cpp#L114
use a trailing return type for this function
main.cpp:88:7 [bugprone-empty-catch]: main.cpp#L88
empty catch statements hide issues; to handle exceptions appropriately, consider re-throwing, handling, or avoiding catch altogether
build-linux (ubuntu-24.04)
‘unsigned char __atomic_load_1(const volatile void*, int)’ writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=]
build-linux (ubuntu-24.04)
‘unsigned int __atomic_load_4(const volatile void*, int)’ writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
Run clang-format on main.cpp: main.cpp#L0
File main.cpp does not conform to LLVM style guidelines. (lines 18, 29, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 76, 78, 82, 83, 84, 85, 86, 87, 88, 92, 93, 94, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 114, 115, 116, 117, 118, 120, 121, 124, 125, 126, 127, 128, 130, 131, 132, 133, 134, 136, 137, 138, 139, 140, 141, 142, 143, 145, 146, 148, 149, 151, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 166, 167, 169, 170, 172, 174, 175, 177, 178, 181, 182, 184, 186, 187, 189, 190, 191, 192, 193, 194, 195, 196, 197, 199, 201, 202, 206, 207, 208, 209, 211, 212, 213, 215, 218, 219, 220, 221, 222)