Skip to content

Fix data movement task dependencies with clang-formatting #16

Fix data movement task dependencies with clang-formatting

Fix data movement task dependencies with clang-formatting #16

Triggered via pull request January 14, 2024 22:14
Status Success
Total duration 44s
Artifacts

lint_cpp.yml

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

Annotations

10 errors, 10 warnings, and 2 notices
src/c/backend/include/device.hpp:29:29 [clang-diagnostic-error]: src/c/backend/include/device.hpp#L29
use of class template 'std::array' requires template arguments
src/c/backend/include/device.hpp:32:38 [clang-diagnostic-error]: src/c/backend/include/device.hpp#L32
non-type template argument is not a constant expression
src/c/backend/include/resources.hpp:17:32 [clang-diagnostic-error]: src/c/backend/include/resources.hpp#L17
no namespace named 'string_view_literals' in namespace 'std::literals'; did you mean 'string_literals'?
src/c/backend/include/resources.hpp:57:23 [clang-diagnostic-error]: src/c/backend/include/resources.hpp#L57
use of class template 'std::array' requires template arguments
src/c/backend/include/resources.hpp:57:55 [clang-diagnostic-error]: src/c/backend/include/resources.hpp#L57
no matching literal operator for call to 'operator""sv' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template
src/c/backend/include/resources.hpp:57:64 [clang-diagnostic-error]: src/c/backend/include/resources.hpp#L57
no matching literal operator for call to 'operator""sv' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template
src/c/backend/include/resources.hpp:57:74 [clang-diagnostic-error]: src/c/backend/include/resources.hpp#L57
no matching literal operator for call to 'operator""sv' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template
src/c/backend/include/device.hpp:29:29 [clang-diagnostic-error]: src/c/backend/include/device.hpp#L29
use of class template 'std::array' requires template arguments
Run clang-format on src/c/backend/include/runtime.hpp: src/c/backend/include/runtime.hpp#L1
File src/c/backend/include/runtime.hpp does not conform to LLVM style guidelines. (lines 303, 635)
Run clang-format on src/c/backend/phases.cpp: src/c/backend/phases.cpp#L1
File src/c/backend/phases.cpp does not conform to LLVM style guidelines. (lines 238, 270, 273, 278, 280, 281, 288, 290, 316)
src/c/backend/include/phases.hpp:67:27 [performance-unnecessary-value-param]: src/c/backend/include/phases.hpp#L67
the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference
src/c/backend/include/phases.hpp:81:3 [readability-const-return-type]: src/c/backend/include/phases.hpp#L81
return type 'const int' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
src/c/backend/include/phases.hpp:104:7 [cppcoreguidelines-pro-type-member-init]: src/c/backend/include/phases.hpp#L104
constructor does not initialize these fields: scheduler, device_manager, enqueue_buffer
src/c/backend/include/phases.hpp:113:3 [cppcoreguidelines-pro-type-member-init]: src/c/backend/include/phases.hpp#L113
constructor does not initialize these fields: enqueue_buffer