Skip to content

Added support for variables in documentation generator #959

Added support for variables in documentation generator

Added support for variables in documentation generator #959

Triggered via push December 25, 2023 12:39
Status Success
Total duration 55s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

cpp-linter.yml

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

Annotations

10 errors and 10 warnings
src/SourceInfo.h:17:37 [clang-diagnostic-error]: src/SourceInfo.h#L17
no member named 'filesystem' in namespace 'std'
src/utils/utils.h:22:6 [clang-diagnostic-error]: src/utils/utils.h#L22
no member named 'filesystem' in namespace 'std'
src/SourceInfo.h:17:37 [clang-diagnostic-error]: src/SourceInfo.h#L17
no member named 'filesystem' in namespace 'std'
src/common.h:2:10 [clang-diagnostic-error]: src/common.h#L2
'memory' file not found
app/commands/docgen.h:13:7 [cppcoreguidelines-avoid-non-const-global-variables]: app/commands/docgen.h#L13
variable 'namespace' is non-const and globally accessible, consider making it const
app/commands/docgen.h:14:11 [cppcoreguidelines-avoid-non-const-global-variables]: app/commands/docgen.h#L14
variable 'fs' is non-const and globally accessible, consider making it const
app/commands/docgen.h:17:9 [bugprone-reserved-identifier]: app/commands/docgen.h#L17
declaration uses identifier '__SNOWBALL_DOC_BUILD_CMD_H_', which is a reserved identifier
app/commands/docgen.h:19:11 [cppcoreguidelines-avoid-non-const-global-variables]: app/commands/docgen.h#L19
variable 'snowball' is non-const and globally accessible, consider making it const
src/compiler.h:67:8 [readability-inconsistent-declaration-parameter-name]: src/compiler.h#L67
function 'snowball::Compiler::compile' has a definition with different parameter names
src/compiler.cc:20:10 [modernize-deprecated-headers]: src/compiler.cc#L20
inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead
src/compiler.cc:27:1 [cppcoreguidelines-pro-type-member-init]: src/compiler.cc#L27
constructor does not initialize these fields: path, cwd, opt_level, globalContext, linkedLibraries, configFolder
src/compiler.cc:27:52 [performance-unnecessary-value-param]: src/compiler.cc#L27
the parameter 'p_path' is copied for each invocation but only used as a const reference; consider making it a const reference
src/compiler.cc:28:12 [performance-unnecessary-value-param]: src/compiler.cc#L28
parameter 'p_code' is passed by value and only copied once; consider moving it to avoid unnecessary copies
src/compiler.cc:38:3 [cppcoreguidelines-owning-memory]: src/compiler.cc#L38
assigning newly created 'gsl::owner<>' to non-owner 'snowball::GlobalContext *'