MCPcopy Create free account
hub / github.com/alibaba/GraphScope / FindNextMultiLineCommentEnd

Function FindNextMultiLineCommentEnd

analytical_engine/misc/cpplint.py:1856–1862  ·  view source on GitHub ↗

We are inside a comment, find the end marker.

(lines, lineix)

Source from the content-addressed store, hash-verified

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

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected