Update FemMeshShapeNetgenObject.cpp #198
Annotations
12 warnings
Clazy
non-POD static (vtkDebugLeaksManager) [-Wclazy-non-pod-global-static]
|
Clazy
non-POD static (vtkObjectFactoryRegistryCleanup) [-Wclazy-non-pod-global-static]
|
Clang-tidy:
src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp#L48
variable 'classTypeId' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
|
Clang-tidy
note: expanded from macro 'PROPERTY_SOURCE'
|
Clang-tidy
note: expanded from macro '\TYPESYSTEM_SOURCE_P'
|
Clang-tidy:
src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp#L48
variable 'propertyData' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
|
Clang-tidy
note: expanded from macro 'PROPERTY_SOURCE'
|
Clang-tidy:
src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp#L50
do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,modernize-avoid-c-arrays]
|
Clang-tidy:
src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp#L50
variable 'FinenessEnums' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
|
Clang-tidy:
src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp#L59
do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
|
Clang-tidy:
src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp#L62
0.3 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
|
Clang-tidy:
src/Mod/Fem/App/FemMeshShapeNetgenObject.cpp#L135
returning a newly created resource of type 'App::DocumentObjectExecReturn *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory]
|
Loading