MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / FindNextMultiLineCommentEnd

Function FindNextMultiLineCommentEnd

src/tests/coding/cpplint.py:1852–1858  ·  view source on GitHub ↗

We are inside a comment, find the end marker.

(lines, lineix)

Source from the content-addressed store, hash-verified

1850
1851
1852def FindNextMultiLineCommentEnd(lines, lineix):
1853 """We are inside a comment, find the end marker."""
1854 while lineix < len(lines):
1855 if lines[lineix].strip().endswith('*/'):
1856 return lineix
1857 lineix += 1
1858 return len(lines)
1859
1860
1861def RemoveMultiLineCommentsFromRange(lines, begin, end):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected