Skip to content

🧹 utils: refactor a bit #97

🧹 utils: refactor a bit

🧹 utils: refactor a bit #97

Triggered via push May 1, 2024 07:58
Status Success
Total duration 1m 14s
Artifacts

checks.yml

on: push
cpp-linter
1m 4s
cpp-linter
Check C++ style
19s
Check C++ style
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
/src/utils.cpp:93:6 [modernize-use-trailing-return-type: src/utils.cpp#L93
use a trailing return type for this function
/src/utils.cpp:105:13 [modernize-use-trailing-return-type: src/utils.cpp#L105
use a trailing return type for this function
/src/utils.cpp:110:6 [modernize-use-trailing-return-type: src/utils.cpp#L110
use a trailing return type for this function
/src/utils.cpp:123:6 [bugprone-exception-escape: src/utils.cpp#L123
an exception may be thrown in function 'arch_chroot' which should not throw exceptions
/src/utils.cpp:167:29 [cppcoreguidelines-avoid-magic-numbers: src/utils.cpp#L167
1048576 is a magic number; consider replacing it with a named constant
/src/utils.cpp:174:28 [cppcoreguidelines-avoid-c-arrays: src/utils.cpp#L174
do not declare C-style arrays, use std::array<> instead
/src/utils.cpp:175:121 [cppcoreguidelines-pro-bounds-array-to-pointer-decay: src/utils.cpp#L175
do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead
/src/utils.cpp:233:13 [modernize-use-trailing-return-type: src/utils.cpp#L233
use a trailing return type for this function
Check C++ style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cpp-linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.