Skip to content

cpp-linter

cpp-linter #21

Re-run triggered July 26, 2024 18:19
Status Success
Total duration 6m 18s
Artifacts

cpp-linter.yaml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
nuTens/logging.hpp:43:10 [clang-diagnostic-error]: nuTens/logging.hpp#L43
'spdlog/spdlog.h' file not found
tests/barger.cpp:13:5 [cppcoreguidelines-pro-type-member-init]: tests/barger.cpp#L13
uninitialized record type: 'bargerProp'
tests/test-utils.hpp:28:9 [cppcoreguidelines-macro-usage]: tests/test-utils.hpp#L28
function-like macro 'TEST_EXPECTED' used; consider a 'constexpr' template function
nuTens/logging.hpp:23:9 [cppcoreguidelines-macro-usage]: nuTens/logging.hpp#L23
macro 'SPDLOG_ACTIVE_LEVEL' used to declare a constant; consider using a 'constexpr' constant
nuTens/logging.hpp:69:23 [cppcoreguidelines-avoid-non-const-global-variables]: nuTens/logging.hpp#L69
variable 'once' is non-const and globally accessible, consider making it const
nuTens/logging.hpp:86:9 [cppcoreguidelines-macro-usage]: nuTens/logging.hpp#L86
variadic macro 'NT_TRACE' used; consider using a 'constexpr' variadic template function