MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / FindNextMultiLineCommentEnd

Function FindNextMultiLineCommentEnd

rtpose_wrapper/scripts/cpp_lint.py:1134–1140  ·  view source on GitHub ↗

We are inside a comment, find the end marker.

(lines, lineix)

Source from the content-addressed store, hash-verified

1132
1133
1134def FindNextMultiLineCommentEnd(lines, lineix):
1135 """We are inside a comment, find the end marker."""
1136 while lineix < len(lines):
1137 if lines[lineix].strip().endswith('*/'):
1138 return lineix
1139 lineix += 1
1140 return len(lines)
1141
1142
1143def RemoveMultiLineCommentsFromRange(lines, begin, end):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected