Skip to content

Work in progress

Work in progress #58

Triggered via push November 22, 2023 18:15
Status Success
Total duration 56s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 10 warnings, and 2 notices
/src/common.hpp:12:10 [clang-diagnostic-error]: src/common.hpp#L12
'SDL2/SDL.h' file not found
/src/common.hpp:12:10 [clang-diagnostic-error]: src/common.hpp#L12
'SDL2/SDL.h' file not found
/src/engine.cpp:19:1 [cppcoreguidelines-pro-type-member-init]: src/engine.cpp#L19
constructor does not initialize these fields: _loopables
/src/engine.cpp:28:1 [readability-const-return-type]: src/engine.cpp#L28
return type 'const std::shared_ptr<graphics::window>' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
/src/engine.cpp:28:49 [modernize-use-trailing-return-type]: src/engine.cpp#L28
use a trailing return type for this function
/src/engine.cpp:36:1 [readability-const-return-type]: src/engine.cpp#L36
return type 'const std::shared_ptr<graphics::renderer>' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
/src/engine.cpp:36:51 [modernize-use-trailing-return-type]: src/engine.cpp#L36
use a trailing return type for this function
/src/engine.cpp:44:1 [readability-const-return-type]: src/engine.cpp#L44
return type 'const std::shared_ptr<audio::audiodevice>' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
/src/engine.cpp:44:51 [modernize-use-trailing-return-type]: src/engine.cpp#L44
use a trailing return type for this function
/src/engine.cpp:52:1 [readability-const-return-type]: src/engine.cpp#L52
return type 'const std::shared_ptr<input::eventmanager>' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
/src/engine.cpp:52:52 [modernize-use-trailing-return-type]: src/engine.cpp#L52
use a trailing return type for this function
/src/engine.cpp:60:1 [readability-const-return-type]: src/engine.cpp#L60
return type 'const std::shared_ptr<framework::entitymanager>' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
Run clang-format on src/engine.cpp: src/engine.cpp#L1
File src/engine.cpp does not conform to Custom style guidelines. (lines 19, 48, 56, 64, 68, 72, 104, 137, 138, 141, 142, 145, 146)
Run clang-format on src/eventmanager.cpp: src/eventmanager.cpp#L1
File src/eventmanager.cpp does not conform to Custom style guidelines. (lines 21, 26)