Skip to content

[nasa/cryptolib#299] Add .clang-format file #8

[nasa/cryptolib#299] Add .clang-format file

[nasa/cryptolib#299] Add .clang-format file #8

Triggered via push September 23, 2024 19:11
Status Success
Total duration 36s
Artifacts

cpp-linter.yml

on: push
cpp-linter
28s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
test/include/utest.h:228:9 [bugprone-reserved-identifier]: test/include/utest.h#L228
declaration uses identifier '__STDC_FORMAT_MACROS', which is a reserved identifier
test/include/utest.h:250:36 [bugprone-macro-parentheses]: test/include/utest.h#L250
macro argument should be enclosed in parentheses
test/include/utest.h:251:40 [bugprone-macro-parentheses]: test/include/utest.h#L251
macro argument should be enclosed in parentheses
test/include/utest.h:334:35 [cppcoreguidelines-avoid-non-const-global-variables]: test/include/utest.h#L334
variable 'utest_state' is non-const and globally accessible, consider making it const
test/include/utest.h:986:5 [readability-function-cognitive-complexity]: test/include/utest.h#L986
function 'utest_main' has cognitive complexity of 40 (threshold 25)
test/include/utest.h:1093:7 [clang-analyzer-unix.Malloc]: test/include/utest.h#L1093
Potential leak of memory pointed to by 'failed_testcases'
src/crypto/kmc/jsmn.h:99:62 [readability-avoid-const-params-in-decls]: src/crypto/kmc/jsmn.h#L99
parameter 'len' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions