Skip to content

Added new script to format the project #1143

Added new script to format the project

Added new script to format the project #1143

Triggered via push January 30, 2024 22:41
Status Success
Total duration 12m 46s
Artifacts

cpp-linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
app/cli.cc:4:10 [clang-diagnostic-error]: app/cli.cc#L4
'errors.h' file not found
app/cli.cc:35:70 [performance-unnecessary-value-param]: app/cli.cc#L35
the parameter 'mode' is copied for each invocation but only used as a const reference; consider making it a const reference
app/cli.cc:94:28 [cppcoreguidelines-init-variables]: app/cli.cc#L94
variable 'progArgs' is not initialized
app/cli.cc:212:9 [cppcoreguidelines-macro-usage]: app/cli.cc#L212
macro 'SNOWBALL_PRINT_MESSAGE' used to declare a constant; consider using a 'constexpr' constant
app/cli.cc:214:14 [modernize-use-trailing-return-type]: app/cli.cc#L214
use a trailing return type for this function
app/cli.cc:219:28 [cppcoreguidelines-init-variables]: app/cli.cc#L219
variable 'args' is not initialized
app/commands/bench.h:13:7 [cppcoreguidelines-avoid-non-const-global-variables]: app/commands/bench.h#L13
variable 'namespace' is non-const and globally accessible, consider making it const
app/commands/bench.h:16:9 [bugprone-reserved-identifier]: app/commands/bench.h#L16
declaration uses identifier '__SNOWBALL_EXEC_BENCH_CMD_H_', which is a reserved identifier
app/commands/bench.h:18:11 [cppcoreguidelines-avoid-non-const-global-variables]: app/commands/bench.h#L18
variable 'snowball' is non-const and globally accessible, consider making it const
app/commands/build.h:13:7 [cppcoreguidelines-avoid-non-const-global-variables]: app/commands/build.h#L13
variable 'namespace' is non-const and globally accessible, consider making it const