Skip to content

🧹 gucc: refactor initcpio #129

🧹 gucc: refactor initcpio

🧹 gucc: refactor initcpio #129

Triggered via push July 2, 2024 23:56
Status Success
Total duration 1m 12s
Artifacts

checks.yml

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

Annotations

8 errors and 2 warnings
/gucc/src/initcpio.cpp:36:16 [bugprone-exception-escape: gucc/src/initcpio.cpp#L36
an exception may be thrown in function 'write' which should not throw exceptions
/gucc/src/initcpio.cpp:36:16 [modernize-use-trailing-return-type: gucc/src/initcpio.cpp#L36
use a trailing return type for this function
/gucc/src/initcpio.cpp:75:16 [modernize-use-trailing-return-type: gucc/src/initcpio.cpp#L75
use a trailing return type for this function
/gucc/src/initcpio.cpp:97:34 [performance-move-const-arg: gucc/src/initcpio.cpp#L97
std::move of the variable 'line' of the trivially-copyable type 'ranges::detail::iterator_associated_types_base_<ranges::adaptor_cursor<ranges::basic_iterator<ranges::adaptor_cursor<ranges::detail::split_outer_iterator<ranges::split_view<std::basic_string_view<char>, ranges::single_view<char>>, true>, ranges::iter_transform_view<ranges::split_view<std::basic_string_view<char>, ranges::single_view<char>>, ranges::indirected<(lambda at /home/runner/work/New-Cli-Installer/New-Cli-Installer/gucc/include/gucc/string_utils.hpp:67:30)>>::adaptor<false>>>, ranges::remove_if_view<ranges::transform_view<ranges::split_view<std::basic_string_view<char>, ranges::single_view<char>>, (lambda at /home/runner/work/New-Cli-Installer/New-Cli-Installer/gucc/include/gucc/string_utils.hpp:67:30)>, ranges::logical_negate<(lambda at /home/runner/work/New-Cli-Installer/New-Cli-Installer/gucc/include/gucc/string_utils.hpp:70:29)>>::adaptor>, true>::const_reference_t' (aka 'std::basic_string_view<char>') has no effect; remove std::move()
/gucc/src/initcpio.cpp:99:32 [performance-move-const-arg: gucc/src/initcpio.cpp#L99
std::move of the variable 'line' of the trivially-copyable type 'ranges::detail::iterator_associated_types_base_<ranges::adaptor_cursor<ranges::basic_iterator<ranges::adaptor_cursor<ranges::detail::split_outer_iterator<ranges::split_view<std::basic_string_view<char>, ranges::single_view<char>>, true>, ranges::iter_transform_view<ranges::split_view<std::basic_string_view<char>, ranges::single_view<char>>, ranges::indirected<(lambda at /home/runner/work/New-Cli-Installer/New-Cli-Installer/gucc/include/gucc/string_utils.hpp:67:30)>>::adaptor<false>>>, ranges::remove_if_view<ranges::transform_view<ranges::split_view<std::basic_string_view<char>, ranges::single_view<char>>, (lambda at /home/runner/work/New-Cli-Installer/New-Cli-Installer/gucc/include/gucc/string_utils.hpp:67:30)>, ranges::logical_negate<(lambda at /home/runner/work/New-Cli-Installer/New-Cli-Installer/gucc/include/gucc/string_utils.hpp:70:29)>>::adaptor>, true>::const_reference_t' (aka 'std::basic_string_view<char>') has no effect; remove std::move()
/gucc/src/initcpio.cpp:101:32 [performance-move-const-arg: gucc/src/initcpio.cpp#L101
std::move of the variable 'line' of the trivially-copyable type 'ranges::detail::iterator_associated_types_base_<ranges::adaptor_cursor<ranges::basic_iterator<ranges::adaptor_cursor<ranges::detail::split_outer_iterator<ranges::split_view<std::basic_string_view<char>, ranges::single_view<char>>, true>, ranges::iter_transform_view<ranges::split_view<std::basic_string_view<char>, ranges::single_view<char>>, ranges::indirected<(lambda at /home/runner/work/New-Cli-Installer/New-Cli-Installer/gucc/include/gucc/string_utils.hpp:67:30)>>::adaptor<false>>>, ranges::remove_if_view<ranges::transform_view<ranges::split_view<std::basic_string_view<char>, ranges::single_view<char>>, (lambda at /home/runner/work/New-Cli-Installer/New-Cli-Installer/gucc/include/gucc/string_utils.hpp:67:30)>, ranges::logical_negate<(lambda at /home/runner/work/New-Cli-Installer/New-Cli-Installer/gucc/include/gucc/string_utils.hpp:70:29)>>::adaptor>, true>::const_reference_t' (aka 'std::basic_string_view<char>') has no effect; remove std::move()
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/.