Skip to content

Merge pull request #174 from snowball-lang/172-fix-paths-and-files-fo… #958

Merge pull request #174 from snowball-lang/172-fix-paths-and-files-fo…

Merge pull request #174 from snowball-lang/172-fix-paths-and-files-fo… #958

Triggered via push December 25, 2023 11:00
Status Success
Total duration 37s
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
28s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
src/common.h:2:10 [clang-diagnostic-error]: src/common.h#L2
'memory' file not found
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/visitors/documentation/DocGen.h:15:9 [bugprone-reserved-identifier]: src/visitors/documentation/DocGen.h#L15
declaration uses identifier '__SNOWBALL_DOCUMENTATION_GENERATOR_H_', which is a reserved identifier
src/visitors/documentation/DocTemplates.cc:11:45 [cppcoreguidelines-avoid-non-const-global-variables]: src/visitors/documentation/DocTemplates.cc#L11
variable 'nameCount' is non-const and globally accessible, consider making it const
src/visitors/documentation/DocTemplates.cc:12:9 [cppcoreguidelines-macro-usage]: src/visitors/documentation/DocTemplates.cc#L12
macro 'GO_BACK_TEXT' used to declare a constant; consider using a 'constexpr' constant
src/visitors/documentation/DocTemplates.cc:14:43 [performance-unnecessary-value-param]: src/visitors/documentation/DocTemplates.cc#L14
the parameter 'context' is copied for each invocation but only used as a const reference; consider making it a const reference
src/visitors/documentation/DocTemplates.cc:14:64 [performance-unnecessary-value-param]: src/visitors/documentation/DocTemplates.cc#L14
the parameter 'title' is copied for each invocation but only used as a const reference; consider making it a const reference
src/visitors/documentation/DocTemplates.cc:14:83 [performance-unnecessary-value-param]: src/visitors/documentation/DocTemplates.cc#L14
the parameter 'body' is copied for each invocation but only used as a const reference; consider making it a const reference