🧹 gucc: move some functions into library #101
Annotations
10 errors, 1 warning, and 2 notices
gucc/src/cpu.cpp#L14
use a trailing return type for this function
|
gucc/src/cpu.cpp#L14
'xgetbv' is a static definition in anonymous namespace; static is redundant here
|
gucc/src/cpu.cpp#L17
do not use inline assembler in safety-critical code
|
gucc/src/cpu.cpp#L20
use of a signed integer operand with a binary bitwise operator
|
gucc/src/cpu.cpp#L20
32 is a magic number; consider replacing it with a named constant
|
gucc/src/cpu.cpp#L23
'cpuid' is a static definition in anonymous namespace; static is redundant here
|
gucc/src/cpu.cpp#L23
do not declare C-style arrays, use std::array<> instead
|
gucc/src/cpu.cpp#L23
pointer parameter 'out' can be pointer to const
|
gucc/src/cpu.cpp#L23
parameter name 'id' is too short, expected at least 3 characters
|
gucc/src/cpu.cpp#L24
do not use inline assembler in safety-critical code
|
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/.
|
gucc/tests/unit-initcpio.cpp#L1
File gucc/tests/unit-initcpio.cpp does not conform to Custom style guidelines. (lines 4, 42)
|
src/tui.cpp#L1
File src/tui.cpp does not conform to Custom style guidelines. (lines 1017, 1018)
|
This job succeeded
Loading