linting fixups #13
build.yml
on: push
Matrix: build-ubuntu
Matrix: build-windows
Matrix: clang-tidy
release
0s
Annotations
11 errors and 5 warnings
build-ubuntu (clang-cross-release)
Process completed with exit code 1.
|
build-windows (msvc-release)
Process completed with exit code 1.
|
clang-tidy (clang-release):
command_extensions\file_parser\main.cpp#L9
clang-tidy: function 'file_not_found' can be made static or moved into an anonymous namespace to enforce internal linkage (misc-use-internal-linkage)
|
clang-tidy (clang-release):
command_extensions\file_parser\main.cpp#L44
clang-tidy: use starts_with instead of rfind() == 0 (modernize-use-starts-ends-with)
|
clang-tidy (clang-release):
command_extensions\file_parser\main.cpp#L51
clang-tidy: use a ranges version of this algorithm (modernize-use-ranges)
|
clang-tidy (clang-release):
command_extensions\file_parser\line_parser.cpp#L6
clang-tidy: function 'parse_file_line_by_line' can be made static or moved into an anonymous namespace to enforce internal linkage (misc-use-internal-linkage)
|
clang-tidy (clang-release):
command_extensions\file_parser\blcm_parser.cpp#L68
clang-tidy: use a ranges version of this algorithm (modernize-use-ranges)
|
clang-tidy (clang-release):
command_extensions\file_parser\blcm_parser.cpp#L188
clang-tidy: variable 'line' of type 'std::string_view' (aka 'basic_string_view<char>') can be declared 'const' (misc-const-correctness)
|
clang-tidy (clang-release):
command_extensions\file_parser\blcm_parser.cpp#L208
clang-tidy: variable 'child_name' of type 'std::string_view' (aka 'basic_string_view<char>') can be declared 'const' (misc-const-correctness)
|
clang-tidy (clang-release):
command_extensions\file_parser\matcher.cpp#L105
clang-tidy: use designated initializer list to initialize 'CommandMatch' (modernize-use-designated-initializers)
|
clang-tidy (clang-release)
Found 8 clang-tidy issues
|
spelling
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ruff
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
pyright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
pyright
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
|
pyright
Cache paths are empty. Please check the previous logs and make sure that the python version is specified
|