Skip to content

🧹 gucc: move some functions into library #101

🧹 gucc: move some functions into library

🧹 gucc: move some functions into library #101

Triggered via push June 25, 2024 21:53
Status Success
Total duration 6m 21s
Artifacts

checks.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 2 notices
/gucc/src/cpu.cpp:14:17 [modernize-use-trailing-return-type: gucc/src/cpu.cpp#L14
use a trailing return type for this function
/gucc/src/cpu.cpp:14:17 [readability-static-definition-in-anonymous-namespace: gucc/src/cpu.cpp#L14
'xgetbv' is a static definition in anonymous namespace; static is redundant here
/gucc/src/cpu.cpp:17:5 [hicpp-no-assembler: gucc/src/cpu.cpp#L17
do not use inline assembler in safety-critical code
/gucc/src/cpu.cpp:20:13 [hicpp-signed-bitwise: gucc/src/cpu.cpp#L20
use of a signed integer operand with a binary bitwise operator
/gucc/src/cpu.cpp:20:43 [cppcoreguidelines-avoid-magic-numbers: gucc/src/cpu.cpp#L20
32 is a magic number; consider replacing it with a named constant
/gucc/src/cpu.cpp:23:13 [readability-static-definition-in-anonymous-namespace: gucc/src/cpu.cpp#L23
'cpuid' is a static definition in anonymous namespace; static is redundant here
/gucc/src/cpu.cpp:23:19 [cppcoreguidelines-avoid-c-arrays: gucc/src/cpu.cpp#L23
do not declare C-style arrays, use std::array<> instead
/gucc/src/cpu.cpp:23:28 [readability-non-const-parameter: gucc/src/cpu.cpp#L23
pointer parameter 'out' can be pointer to const
/gucc/src/cpu.cpp:23:45 [readability-identifier-length: gucc/src/cpu.cpp#L23
parameter name 'id' is too short, expected at least 3 characters
/gucc/src/cpu.cpp:24:5 [hicpp-no-assembler: gucc/src/cpu.cpp#L24
do not use inline assembler in safety-critical code
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/.
Run clang-format on gucc/tests/unit-initcpio.cpp: gucc/tests/unit-initcpio.cpp#L1
File gucc/tests/unit-initcpio.cpp does not conform to Custom style guidelines. (lines 4, 42)
Run clang-format on src/tui.cpp: src/tui.cpp#L1
File src/tui.cpp does not conform to Custom style guidelines. (lines 1017, 1018)