Work in progress #16
Annotations
4 errors, 10 warnings, and 3 notices
/src/common.hpp:8:10 [clang-diagnostic-error]:
src/common.hpp#L8
'SDL2/SDL.h' file not found
|
/src/common.hpp:8:10 [clang-diagnostic-error]:
src/common.hpp#L8
'SDL2/SDL.h' file not found
|
/src/common.hpp:8:10 [clang-diagnostic-error]:
src/common.hpp#L8
'SDL2/SDL.h' file not found
|
lint
Process completed with exit code 1.
|
/src/motor.cpp:3:1 [cppcoreguidelines-pro-type-member-init]:
src/motor.cpp#L3
constructor does not initialize these fields: _running, _loopables
|
/src/motor.cpp:3:8 [modernize-use-equals-default]:
src/motor.cpp#L3
use '= default' to define a trivial default constructor
|
/src/motor.cpp:20:13 [readability-make-member-function-const]:
src/motor.cpp#L20
method 'run' can be made const
|
/src/motor.cpp:40:1 [readability-const-return-type]:
src/motor.cpp#L40
return type 'const std::shared_ptr<eventmanager>' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
|
/src/motor.cpp:40:44 [modernize-use-trailing-return-type]:
src/motor.cpp#L40
use a trailing return type for this function
|
/src/motor.hpp:3:9 [bugprone-reserved-identifier]:
src/motor.hpp#L3
declaration uses identifier '_engine_hpp', which is reserved in the global namespace
|
/src/motor.hpp:15:7 [cppcoreguidelines-special-member-functions]:
src/motor.hpp#L15
class 'motor' defines a default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator
|
/src/motor.hpp:17:11 [modernize-use-override]:
src/motor.hpp#L17
prefer using 'override' or (rarely) 'final' instead of 'virtual'
|
/src/motor.hpp:26:39 [modernize-use-trailing-return-type]:
src/motor.hpp#L26
use a trailing return type for this function
|
/src/motor.hpp:31:16 [cppcoreguidelines-explicit-virtual-functions:
src/motor.hpp#L31
'virtual' is redundant since the function is already declared 'override'
|
Run clang-format on src/motor.cpp:
src/motor.cpp#L1
File src/motor.cpp does not conform to Custom style guidelines. (lines 3, 6, 44, 45)
|
Run clang-format on src/motor.hpp:
src/motor.hpp#L1
File src/motor.hpp does not conform to Custom style guidelines. (lines 22)
|
Run clang-format on src/scriptengine.cpp:
src/scriptengine.cpp#L1
File src/scriptengine.cpp does not conform to Custom style guidelines. (lines 4, 5, 6, 7, 8, 9, 12, 13, 14, 15, 29, 31, 32, 47)
|