[Sketcher] Update parameter name & add comment #1195
Annotations
1 error and 29 warnings
Cpplint
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Cpplint:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L60
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
|
Cpplint:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L61
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
|
Cpplint:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L442
Use int16_t/int64_t/etc, rather than the C type long [runtime/int] [4]
|
Cpplint:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L444
Using C-style cast. Use static_cast<uint32_t>(...) instead [readability/casting] [4]
|
Cpplint:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L689
Never use sprintf. Use snprintf instead. [runtime/printf] [5]
|
Cpplint:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L612
Add #include <vector> for vector<> [build/include_what_you_use] [4]
|
Cpplint:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L637
Add #include <list> for list<> [build/include_what_you_use] [4]
|
Cpplint:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L1045
Add #include <string> for string [build/include_what_you_use] [4]
|
Clazy:
src/Base/Type.h#L119
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L150
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L155
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L160
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L165
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L170
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L175
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/TimeInfo.h#L70
Pass small and trivially-copyable type by value (const class Base::TimeInfo &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/TimeInfo.h#L70
Pass small and trivially-copyable type by value (const class Base::TimeInfo &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/TimeInfo.h#L76
Pass small and trivially-copyable type by value (const class Base::TimeInfo &) [-Wclazy-function-args-by-value]
|
Clang-tidy:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L166
0b1111111111111111 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
|
Clang-tidy:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L170
0b1111110011111100 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
|
Clang-tidy:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L174
0b1111110011111100 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
|
Clang-tidy:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L178
0b1111110011111100 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
|
Clang-tidy:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L182
static member accessed through instance [readability-static-accessed-through-instance]
|
Clang-tidy:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L186
static member accessed through instance [readability-static-accessed-through-instance]
|
Clang-tidy:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L190
static member accessed through instance [readability-static-accessed-through-instance]
|
Clang-tidy:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L194
static member accessed through instance [readability-static-accessed-through-instance]
|
Clang-tidy:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L198
static member accessed through instance [readability-static-accessed-through-instance]
|
Clang-tidy:
src/Mod/Sketcher/Gui/EditModeCoinManager.cpp#L202
static member accessed through instance [readability-static-accessed-through-instance]
|
Loading