Skip to content

Commit

Permalink
Add patchAPI/src/PatchBlock.C
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent 94659a8 commit f05b5ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/patchAPI/developer/PatchCFG.h.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ PatchCFG.h
.. cpp:function:: protected void addBlock(PatchBlock *)
.. cpp:function:: protected void splitBlock(PatchBlock *first, PatchBlock *second)
.. cpp:function:: protected void destroyPoints()

Destroy points for this block and then each containing function's context specific points for the
block.

.. cpp:function:: protected void destroyBlockPoints(PatchBlock *block)
.. cpp:function:: protected void invalidateBlocks()
.. cpp:function:: protected void getLoopsByNestingLevel(vector<PatchLoop*>& lbb, bool outerMostOnly)
Expand Down
3 changes: 0 additions & 3 deletions patchAPI/src/PatchBlock.C
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/* Public Interface */

#include "PatchCommon.h"
#include "PatchCFG.h"
Expand Down Expand Up @@ -401,8 +400,6 @@ void PatchBlock::remove(Point *p) {
}
}

// destroy points for this block and then each containing function's
// context specific points for the block
void PatchBlock::destroyPoints()
{
PatchCallback *cb = obj()->cb();
Expand Down

0 comments on commit f05b5ff

Please sign in to comment.