MCPcopy Create free account
hub / github.com/SIPp/sipp / FindNextMultiLineCommentEnd

Function FindNextMultiLineCommentEnd

cpplint.py:937–943  ·  view source on GitHub ↗

We are inside a comment, find the end marker.

(lines, lineix)

Source from the content-addressed store, hash-verified

935
936
937def FindNextMultiLineCommentEnd(lines, lineix):
938 """We are inside a comment, find the end marker."""
939 while lineix < len(lines):
940 if lines[lineix].strip().endswith('*/'):
941 return lineix
942 lineix += 1
943 return len(lines)
944
945
946def RemoveMultiLineCommentsFromRange(lines, begin, end):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected