]> OCCT Git - occt.git/commit
Coding - Update Clang-format with more macroses (#677)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sat, 16 Aug 2025 19:50:50 +0000 (20:50 +0100)
committerGitHub <noreply@github.com>
Sat, 16 Aug 2025 19:50:50 +0000 (20:50 +0100)
commit314527f5c037e1cc3a2ede6a95799a8ffa543907
treea872f0e60e1760e1e6ca9207573e2a6f9c4889db
parentd1b00bf1321bd01d499730b0e2ba1b0d2aec3474
Coding - Update Clang-format with more macroses (#677)

- Updates `.clang-format` to include `OCC_CATCH_SIGNALS`, `DEFINE_STANDARD_RTTIEXT`, and `Draw_Drawable3D_FACTORY` as statement macros
- Adds a GitHub action step to automatically remove empty lines after `Standard_DEPRECATED` macro declarations
- Reformats numerous files by removing blank lines after deprecated method declarations and improving macro formatting
93 files changed:
.clang-format
.github/actions/clang-format-check/action.yml
src/ApplicationFramework/TKCAF/TNaming/TNaming_Identifier.cxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_Name.cxx
src/ApplicationFramework/TKCDF/PCDM/PCDM_StorageDriver.cxx
src/DataExchange/TKDESTEP/GeomToStep/GeomToStep_MakeBSplineCurveWithKnots.cxx
src/DataExchange/TKDESTEP/GeomToStep/GeomToStep_MakeBSplineCurveWithKnotsAndRationalBSplineCurve.cxx
src/DataExchange/TKDESTEP/GeomToStep/GeomToStep_MakeLine.cxx
src/DataExchange/TKDESTEP/RWStepVisual/RWStepVisual_RWPresentationLayerUsage.cxx
src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_VisMaterial.hxx
src/Draw/TKDCAF/DNaming/DNaming_BooleanOperationDriver.cxx
src/Draw/TKDraw/DBRep/DBRep_DrawableShape.hxx
src/Draw/TKDraw/Draw/Draw.cxx
src/Draw/TKDraw/Draw/Draw_Number.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_BSplineCurve.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_BSplineCurve2d.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_BSplineSurface.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_BezierCurve.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_BezierCurve2d.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_BezierSurface.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Curve.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Curve2d.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Point.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Polygon2D.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Polygon3D.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Surface.hxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Triangulation.hxx
src/Draw/TKTopTest/HLRTest/HLRTest_Projector.hxx
src/FoundationClasses/TKMath/Poly/Poly_PolygonOnTriangulation.hxx
src/FoundationClasses/TKMath/Poly/Poly_Triangulation.hxx
src/FoundationClasses/TKernel/Message/Message_ProgressSentry.hxx
src/FoundationClasses/TKernel/NCollection/NCollection_Map.hxx
src/FoundationClasses/TKernel/Standard/Standard_Atomic.hxx
src/FoundationClasses/TKernel/Standard/Standard_Handle.hxx
src/FoundationClasses/TKernel/Standard/Standard_MMgrOpt.cxx
src/FoundationClasses/TKernel/Standard/Standard_Strtod.cxx
src/FoundationClasses/TKernel/TCollection/TCollection.hxx
src/ModelingAlgorithms/TKBool/TopOpeBRepBuild/TopOpeBRepBuild_BuilderON.cxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_NSections.cxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_ShapeContents.hxx
src/ModelingAlgorithms/TKShHealing/ShapeFix/ShapeFix_FaceConnect.cxx
src/ModelingAlgorithms/TKTopAlgo/MAT2d/MAT2d_Tool2d.cxx
src/ModelingData/TKGeomBase/GC/GC_MakeArcOfCircle.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeArcOfEllipse.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeArcOfHyperbola.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeArcOfParabola.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeCircle.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeConicalSurface.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeCylindricalSurface.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeEllipse.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeHyperbola.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeLine.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeMirror.hxx
src/ModelingData/TKGeomBase/GC/GC_MakePlane.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeRotation.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeScale.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeSegment.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeTranslation.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeTrimmedCone.hxx
src/ModelingData/TKGeomBase/GC/GC_MakeTrimmedCylinder.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeArcOfCircle.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeArcOfEllipse.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeArcOfHyperbola.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeArcOfParabola.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeCircle.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeEllipse.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeHyperbola.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeLine.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeMirror.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeParabola.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeRotation.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeScale.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeSegment.hxx
src/ModelingData/TKGeomBase/GCE2d/GCE2d_MakeTranslation.hxx
src/Visualization/TKMeshVS/MeshVS/MeshVS_Mesh.cxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_Context.hxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_FrameBuffer.hxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_Texture.hxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_TextureSet.hxx
src/Visualization/TKService/Font/Font_FTFont.hxx
src/Visualization/TKService/Font/Font_TextFormatter.hxx
src/Visualization/TKService/Graphic3d/Graphic3d_AspectFillArea3d.hxx
src/Visualization/TKService/Graphic3d/Graphic3d_Aspects.hxx
src/Visualization/TKService/Graphic3d/Graphic3d_MaterialAspect.hxx
src/Visualization/TKService/Graphic3d/Graphic3d_Structure.hxx
src/Visualization/TKV3d/AIS/AIS_InteractiveContext.hxx
src/Visualization/TKV3d/Prs3d/Prs3d_Drawer.hxx
src/Visualization/TKV3d/PrsMgr/PrsMgr_Presentation.hxx
src/Visualization/TKV3d/Select3D/Select3D_SensitiveCircle.hxx
src/Visualization/TKV3d/SelectBasics/SelectBasics_SelectingVolumeManager.hxx
src/Visualization/TKV3d/SelectMgr/SelectMgr_EntityOwner.hxx
src/Visualization/TKV3d/V3d/V3d_View.hxx
src/Visualization/TKV3d/V3d/V3d_Viewer.hxx