MCPcopy Create free account
hub / github.com/apache/mesos / FindNextMultiLineCommentEnd

Function FindNextMultiLineCommentEnd

support/cpplint.py:1380–1386  ·  view source on GitHub ↗

We are inside a comment, find the end marker.

(lines, lineix)

Source from the content-addressed store, hash-verified

1378
1379
1380def FindNextMultiLineCommentEnd(lines, lineix):
1381 """We are inside a comment, find the end marker."""
1382 while lineix < len(lines):
1383 if lines[lineix].strip().endswith('*/'):
1384 return lineix
1385 lineix += 1
1386 return len(lines)
1387
1388
1389def RemoveMultiLineCommentsFromRange(lines, begin, end):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected