occt: master 0be7dbe1
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
BenjaminBihler | apn | master | 2019-02-25 09:52:01 | master 1c8fc6be |
Affected Issues | 0030448: Coding - add typo detection to derivation creation methods using Standard_NODISCARD attribute | |||
Changeset | 0030448: Coding - add typo detection to derivation creation methods using Standard_NODISCARD attribute Added macro Standard_NODISCARD equivalent to C++17 attribute [[nodiscard]] for compilers that support this. Using Standard_NODISCARD macro for methods that create new object in gp, math, Geom, Bnd packages. Marked equivalent operators with Standard_NODISCARD, if they are defined close to relevant methods. Corrected code where warnings on unused result of calls to methods creating new objects are generated. In most cases it looks like spelling errors (e.g. Normalised() instead of Normalise()) |
|||
mod - dox/resources/occt_rm.doxyfile | Diff File | |||
mod - src/Bnd/Bnd_B2d.hxx | Diff File | |||
mod - src/Bnd/Bnd_B2f.hxx | Diff File | |||
mod - src/Bnd/Bnd_B3d.hxx | Diff File | |||
mod - src/Bnd/Bnd_B3f.hxx | Diff File | |||
mod - src/Bnd/Bnd_Box.hxx | Diff File | |||
mod - src/Bnd/Bnd_Box2d.hxx | Diff File | |||
mod - src/ChFi3d/ChFi3d_Builder_2.cxx | Diff File | |||
mod - src/Contap/Contap_ArcFunction.cxx | Diff File | |||
mod - src/Extrema/Extrema_ExtPElS.cxx | Diff File | |||
mod - src/Geom/Geom_Axis1Placement.hxx | Diff File | |||
mod - src/Geom/Geom_Curve.hxx | Diff File | |||
mod - src/Geom/Geom_Geometry.hxx | Diff File | |||
mod - src/Geom/Geom_Surface.hxx | Diff File | |||
mod - src/Geom/Geom_Transformation.hxx | Diff File | |||
mod - src/Geom/Geom_Vector.hxx | Diff File | |||
mod - src/Geom/Geom_VectorWithMagnitude.hxx | Diff File | |||
mod - src/Geom2d/Geom2d_AxisPlacement.hxx | Diff File | |||
mod - src/Geom2d/Geom2d_Curve.hxx | Diff File | |||
mod - src/Geom2d/Geom2d_Geometry.hxx | Diff File | |||
mod - src/Geom2d/Geom2d_Transformation.hxx | Diff File | |||
mod - src/Geom2d/Geom2d_Vector.hxx | Diff File | |||
mod - src/Geom2d/Geom2d_VectorWithMagnitude.cxx | Diff File | |||
mod - src/Geom2d/Geom2d_VectorWithMagnitude.hxx | Diff File | |||
mod - src/GeomFill/GeomFill_GuideTrihedronPlan.cxx | Diff File | |||
mod - src/GeomFill/GeomFill_TgtOnCoons.cxx | Diff File | |||
mod - src/gp/gp_Ax1.hxx | Diff File | |||
mod - src/gp/gp_Ax2.hxx | Diff File | |||
mod - src/gp/gp_Ax22d.hxx | Diff File | |||
mod - src/gp/gp_Ax2d.hxx | Diff File | |||
mod - src/gp/gp_Ax3.hxx | Diff File | |||
mod - src/gp/gp_Circ.hxx | Diff File | |||
mod - src/gp/gp_Circ2d.hxx | Diff File | |||
mod - src/gp/gp_Cone.hxx | Diff File | |||
mod - src/gp/gp_Cylinder.hxx | Diff File | |||
mod - src/gp/gp_Dir.hxx | Diff File | |||
mod - src/gp/gp_Dir2d.hxx | Diff File | |||
mod - src/gp/gp_Elips.hxx | Diff File | |||
mod - src/gp/gp_Elips2d.hxx | Diff File | |||
mod - src/gp/gp_GTrsf.hxx | Diff File | |||
mod - src/gp/gp_GTrsf2d.hxx | Diff File | |||
mod - src/gp/gp_Hypr.hxx | Diff File | |||
mod - src/gp/gp_Hypr2d.hxx | Diff File | |||
mod - src/gp/gp_Lin.hxx | Diff File | |||
mod - src/gp/gp_Lin2d.hxx | Diff File | |||
mod - src/gp/gp_Mat.hxx | Diff File | |||
mod - src/gp/gp_Mat2d.hxx | Diff File | |||
mod - src/gp/gp_Parab.hxx | Diff File | |||
mod - src/gp/gp_Parab2d.hxx | Diff File | |||
mod - src/gp/gp_Pln.hxx | Diff File | |||
mod - src/gp/gp_Pnt.hxx | Diff File | |||
mod - src/gp/gp_Pnt2d.hxx | Diff File | |||
mod - src/gp/gp_Quaternion.hxx | Diff File | |||
mod - src/gp/gp_Sphere.hxx | Diff File | |||
mod - src/gp/gp_Torus.hxx | Diff File | |||
mod - src/gp/gp_Trsf.hxx | Diff File | |||
mod - src/gp/gp_Trsf2d.hxx | Diff File | |||
mod - src/gp/gp_Vec.hxx | Diff File | |||
mod - src/gp/gp_Vec2d.hxx | Diff File | |||
mod - src/gp/gp_XY.hxx | Diff File | |||
mod - src/gp/gp_XYZ.hxx | Diff File | |||
mod - src/IntImpParGen/IntImpParGen.cxx | Diff File | |||
mod - src/IntImpParGen/IntImpParGen_Tool.cxx | Diff File | |||
mod - src/math/math_IntegerVector.hxx | Diff File | |||
mod - src/math/math_Matrix.hxx | Diff File | |||
mod - src/math/math_Vector.hxx | Diff File | |||
mod - src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.cxx | Diff File | |||
mod - src/Standard/Standard_Macro.hxx | Diff File | |||
mod - src/TopLoc/TopLoc_Location.hxx | Diff File | |||
mod - src/Units/Units_Token.hxx | Diff File |