Skip to content

[Test] Add cpp linter workflow #2

[Test] Add cpp linter workflow

[Test] Add cpp linter workflow #2

Triggered via pull request January 7, 2025 22:11
Status Failure
Total duration 48s
Artifacts

cpp-linter.yml

on: pull_request
cpp-linter
36s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 10 warnings, and 10 notices
pass/ProteusPass.cpp:28:10 [clang-diagnostic-error]: pass/ProteusPass.cpp#L28
'llvm/Analysis/CallGraph.h' file not found
lib/JitEngineDeviceCUDA.cpp:11:10 [clang-diagnostic-error]: lib/JitEngineDeviceCUDA.cpp#L11
'llvm/Bitcode/BitcodeWriter.h' file not found
common/Logger.hpp:2:10 [clang-diagnostic-error]: common/Logger.hpp#L2
'llvm/Support/Error.h' file not found
tests/gpu/launcher.hpp:2:34 [clang-diagnostic-error]: tests/gpu/launcher.hpp#L2
use of undeclared identifier 'printf'
cpp-linter
Process completed with exit code 1.
pass/ProteusPass.cpp:29:1 [llvm-include-order]: pass/ProteusPass.cpp#L29
#includes are not sorted properly
tests/gpu/device_func.cpp:4:17 [readability-identifier-naming]: tests/gpu/device_func.cpp#L4
invalid case style for function 'device_function'
tests/gpu/types.cpp:11:14 [readability-identifier-naming]: tests/gpu/types.cpp#L11
invalid case style for variable 'local'
Run clang-format on pass/ProteusPass.cpp: pass/ProteusPass.cpp#L1
File pass/ProteusPass.cpp does not conform to Custom style guidelines. (lines 1062, 1063, 1070, 1098, 1099)
Run clang-format on tests/gpu/indirect_launcher_tpl_multi_arg.cpp: tests/gpu/indirect_launcher_tpl_multi_arg.cpp#L1
File tests/gpu/indirect_launcher_tpl_multi_arg.cpp does not conform to Custom style guidelines. (lines 13, 23, 27)
Run clang-format on tests/gpu/types.cpp: tests/gpu/types.cpp#L1
File tests/gpu/types.cpp does not conform to Custom style guidelines. (lines 8, 9, 45)
Run clang-format on tests/gpu/kernel_host_jit.cpp: tests/gpu/kernel_host_jit.cpp#L1
File tests/gpu/kernel_host_jit.cpp does not conform to Custom style guidelines. (lines 7, 9, 12)
Run clang-format on tests/gpu/kernel_preset_bounds.cpp: tests/gpu/kernel_preset_bounds.cpp#L1
File tests/gpu/kernel_preset_bounds.cpp does not conform to Custom style guidelines. (lines 11)
Run clang-format on tests/gpu/indirect_launcher_multi_arg.cpp: tests/gpu/indirect_launcher_multi_arg.cpp#L1
File tests/gpu/indirect_launcher_multi_arg.cpp does not conform to Custom style guidelines. (lines 12)
Run clang-format on tests/gpu/indirect_fallthrough.cpp: tests/gpu/indirect_fallthrough.cpp#L1
File tests/gpu/indirect_fallthrough.cpp does not conform to Custom style guidelines. (lines 10, 11)
Run clang-format on tests/gpu/indirect_launcher_tpl_multi.cpp: tests/gpu/indirect_launcher_tpl_multi.cpp#L1
File tests/gpu/indirect_launcher_tpl_multi.cpp does not conform to Custom style guidelines. (lines 22)
Run clang-format on tests/cpu/types.cpp: tests/cpu/types.cpp#L1
File tests/cpu/types.cpp does not conform to Custom style guidelines. (lines 5, 6, 24)
Run clang-format on lib/TransformLambdaSpecialization.hpp: lib/TransformLambdaSpecialization.hpp#L1
File lib/TransformLambdaSpecialization.hpp does not conform to Custom style guidelines. (lines 60, 61, 62, 68)