MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / FindNextMultiLineCommentEnd

Function FindNextMultiLineCommentEnd

steps/cpplint.py:1867–1873  ·  view source on GitHub ↗

We are inside a comment, find the end marker.

(lines, lineix)

Source from the content-addressed store, hash-verified

1865
1866
1867def FindNextMultiLineCommentEnd(lines, lineix):
1868 """We are inside a comment, find the end marker."""
1869 while lineix < len(lines):
1870 if lines[lineix].strip().endswith('*/'):
1871 return lineix
1872 lineix += 1
1873 return len(lines)
1874
1875
1876def RemoveMultiLineCommentsFromRange(lines, begin, end):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected