Skip to content

Static casting to int to fix clang-tidy warnings (#53) #4

Static casting to int to fix clang-tidy warnings (#53)

Static casting to int to fix clang-tidy warnings (#53) #4

Triggered via push July 31, 2024 17:41
Status Failure
Total duration 5m 2s
Artifacts

ci.yml

on: push
Formatting
10s
Formatting
Save-PR-Number
0s
Save-PR-Number
Lint-clang-tidy
41s
Lint-clang-tidy
Lint-codeql
4m 35s
Lint-codeql
Lint-codespell
9s
Lint-codespell
Matrix: CPU
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
Lint-clang-tidy
Process completed with exit code 157.
Lint-clang-tidy: src/CartBlock.C#L469
an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition]
Lint-clang-tidy: src/CartBlock.C#L633
an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition]
Lint-clang-tidy: src/CartGrid.C#L219
result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result]
Lint-clang-tidy: src/CartGrid.C#L223
result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result]
Lint-clang-tidy: src/CartGrid.C#L227
result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result]
Lint-clang-tidy: src/CartGrid.h#L42
member variable 'm_info' has public visibility [misc-non-private-member-variables-in-classes]
Lint-clang-tidy: src/CartGrid.h#L43
member variable 'm_info_device' has public visibility [misc-non-private-member-variables-in-classes]
Lint-clang-tidy: src/CartGrid.h#L45
member variable 'global_id' has public visibility [misc-non-private-member-variables-in-classes]
Lint-clang-tidy: src/CartGrid.h#L46
member variable 'level_num' has public visibility [misc-non-private-member-variables-in-classes]
Lint-clang-tidy: src/CartGrid.h#L47
member variable 'proc_id' has public visibility [misc-non-private-member-variables-in-classes]
Lint-codeql
The following actions use a deprecated Node.js version and will be forced to run on node20: github/codeql-action/init@v2, github/codeql-action/analyze@v2, github/codeql-action/upload-sarif@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint-codeql
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/