MCPcopy Create free account
hub / github.com/BVLC/caffe / FindNextMultiLineCommentEnd

Function FindNextMultiLineCommentEnd

scripts/cpp_lint.py:1138–1144  ·  view source on GitHub ↗

We are inside a comment, find the end marker.

(lines, lineix)

Source from the content-addressed store, hash-verified

1136
1137
1138def FindNextMultiLineCommentEnd(lines, lineix):
1139 """We are inside a comment, find the end marker."""
1140 while lineix < len(lines):
1141 if lines[lineix].strip().endswith('*/'):
1142 return lineix
1143 lineix += 1
1144 return len(lines)
1145
1146
1147def RemoveMultiLineCommentsFromRange(lines, begin, end):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected