Work in progress #59
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
|
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/scriptengine.cpp:
src/scriptengine.cpp#L1
File src/scriptengine.cpp does not conform to Custom style guidelines. (lines 24, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36, 39, 40, 41, 43, 44, 48, 49, 50, 51, 52, 54, 55, 56, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 82)
|
/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
|