Fix implicit bool warnings (#42) #95
ci.yml
on: push
Formatting
8s
Save-PR-Number
0s
Matrix: CPU
Annotations
1 error and 12 warnings
Lint-clang-tidy
Process completed with exit code 97.
|
Lint-clang-tidy:
src/ADT.C#L114
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/ADT.C#L30
2 adjacent parameters of 'buildADT' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters]
|
Lint-clang-tidy:
src/ADT.h#L68
redundant void argument list in function definition [modernize-redundant-void-arg]
|
Lint-clang-tidy:
src/CartBlock.C#L113
variable 'cell_index' of type 'int' can be declared 'const' [misc-const-correctness]
|
Lint-clang-tidy:
src/CartBlock.C#L114
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/CartBlock.C#L121
variable 'ind_offset' of type 'int' can be declared 'const' [misc-const-correctness]
|
Lint-clang-tidy:
src/CartBlock.C#L122
variable 'node_index' of type 'int' can be declared 'const' [misc-const-correctness]
|
Lint-clang-tidy:
src/CartBlock.C#L143
pointer parameter 'qval' can be pointer to const [readability-non-const-parameter]
|
Lint-clang-tidy:
src/CartBlock.C#L171
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/CartBlock.C#L171
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-codeql
The following actions uses Node.js version which is deprecated 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/
|