[Sketcher] Update string comparison from C to C++ #1045
Annotations
2 errors and 20 warnings
Codespell
Process completed with exit code 2.
|
Cpplint
Process completed with exit code 2.
|
Clazy
NCollection_ListNode has copy-ctor, copy-assignment but not dtor [-Wclazy-rule-of-three]
|
Clazy
Pass small and trivially-copyable type by value (const class NCollection_BaseList::Iterator &) [-Wclazy-function-args-by-value]
|
Clazy
Pass small and trivially-copyable type by value (const class NCollection_BaseList::Iterator &) [-Wclazy-function-args-by-value]
|
Clazy
Pass small and trivially-copyable type by value (const class gp_XY &) [-Wclazy-function-args-by-value]
|
Clazy
Pass small and trivially-copyable type by value (const class gp_XY &) [-Wclazy-function-args-by-value]
|
Clazy
Pass small and trivially-copyable type by value (const class gp_XY &) [-Wclazy-function-args-by-value]
|
Clazy
Pass small and trivially-copyable type by value (const class gp_XY &) [-Wclazy-function-args-by-value]
|
Clazy
Pass small and trivially-copyable type by value (const class gp_XY &) [-Wclazy-function-args-by-value]
|
Clazy
Pass small and trivially-copyable type by value (const class gp_XY &) [-Wclazy-function-args-by-value]
|
Clazy
Pass small and trivially-copyable type by value (const class gp_XY &) [-Wclazy-function-args-by-value]
|
Clang-tidy:
src/Mod/Sketcher/App/SketchObject.cpp#L216
10.0 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
|
Clang-tidy:
src/Mod/Sketcher/App/SketchObject.cpp#L240
statement should be inside braces [readability-braces-around-statements]
|
Clang-tidy:
src/Mod/Sketcher/App/SketchObject.cpp#L242
statement should be inside braces [readability-braces-around-statements]
|
Clang-tidy:
src/Mod/Sketcher/App/SketchObject.cpp#L244
statement should be inside braces [readability-braces-around-statements]
|
Clang-tidy:
src/Mod/Sketcher/App/SketchObject.cpp#L246
statement should be inside braces [readability-braces-around-statements]
|
Clang-tidy:
src/Mod/Sketcher/App/SketchObject.cpp#L255
statement should be inside braces [readability-braces-around-statements]
|
Clang-tidy:
src/Mod/Sketcher/App/SketchObject.cpp#L285
do not use 'else' after 'return' [readability-else-after-return]
|
Clang-tidy:
src/Mod/Sketcher/App/SketchObject.cpp#L295
5 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
|
Clang-tidy:
src/Mod/Sketcher/App/SketchObject.cpp#L311
parameter name 's' is too short, expected at least 2 characters [readability-identifier-length]
|
Clang-tidy:
src/Mod/Sketcher/App/SketchObject.cpp#L312
statement should be inside braces [readability-braces-around-statements]
|
Loading