Coding - Method guard iterative update#674
Merged
Merged
Conversation
Used regex in src folder:
//[\s\n\r\t]*==[=]+[\n\r]+//[\s\n\r\t]*[a-z]+[\s\n\r\t]*:[\s\n\r\t]*[a-z0-9_:\t\s]*[\s\n\r\t]//[\s\n\r\t]*[a-z]+[\s\n\r\t]*:([a-z0-9_\s\t./-><]){1,22}//[\s\n\r\t]*===[=]+
There was a problem hiding this comment.
Pull Request Overview
This PR systematically updates comment block formatting for function/method headers throughout the modeling algorithms codebase. The change replaces traditional OpenCASCADE-style comment blocks with a simplified format.
- Standardizes comment formatting by replacing detailed comment blocks with a uniform "//=================================================================================================" separator
- Removes redundant "function:" and "purpose:" fields that often contained minimal or no useful information
- Maintains code functionality while improving visual consistency across the codebase
Reviewed Changes
Copilot reviewed 259 out of 365 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| HLRBRep/*.lxx | Updated inline function comment formatting in HLR boundary representation classes |
| HLRAlgo/*.lxx | Updated inline function comment formatting in HLR algorithm classes |
| TopClass/*.lxx/.gxx | Updated comment formatting in topological classification template classes |
| Intf/*.lxx/.gxx | Updated comment formatting in interference detection classes |
| IntStart/*.gxx | Updated comment formatting in intersection start classes |
| IntPatch/*.lxx | Updated comment formatting in intersection patch classes |
| IntCurveSurface/*.gxx | Updated comment formatting in curve-surface intersection classes |
| IntCurve/*.gxx | Updated comment formatting in curve intersection classes |
| HatchGen/*.cxx | Updated comment formatting in hatching generation classes |
| Hatch/*.lxx | Updated comment formatting in hatching classes |
| GeomInt/*.lxx/.cxx | Updated comment formatting in geometric intersection classes |
| GeomFill/*.lxx/.cxx | Updated comment formatting in geometric filling classes |
| GeomAPI/*.lxx | Updated comment formatting in geometric API classes |
| Geom2dHatch/*.lxx/.cxx | Updated comment formatting in 2D hatching classes |
| Geom2dAPI/*.lxx | Updated comment formatting in 2D geometric API classes |
| ApproxInt/*.gxx | Updated comment formatting in approximation intersection classes |
| AppBlend/*.gxx | Updated comment formatting in application blending classes |
| ChFiDS/*.lxx | Updated comment formatting in chamfer/fillet data structure classes |
| ChFi2d/*.lxx | Updated comment formatting in 2D chamfer/fillet classes |
| BRepFilletAPI/*.lxx | Updated comment formatting in boundary representation fillet API classes |
| BRepBlend/*.lxx/.cxx | Updated comment formatting in boundary representation blending classes |
| LocOpe/*.lxx | Updated comment formatting in local operations classes |
AtheneNoctuaPt
approved these changes
Aug 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Used regex in src folder:
//[\s\n\r\t]==[=]+[\n\r]+//[\s\n\r\t][a-z]+[\s\n\r\t]:[\s\n\r\t][a-z0-9_:\t\s][\s\n\r\t]//[\s\n\r\t][a-z]+[\s\n\r\t]:([a-z0-9_\s\t./-><]){1,22}//[\s\n\r\t]===[=]+