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

Function RemoveMultiLineCommentsFromRange

scripts/cpp_lint.py:1147–1152  ·  view source on GitHub ↗

Clears a range of lines for multi-line comments.

(lines, begin, end)

Source from the content-addressed store, hash-verified

1145
1146
1147def RemoveMultiLineCommentsFromRange(lines, begin, end):
1148 """Clears a range of lines for multi-line comments."""
1149 # Having // dummy comments makes the lines non-empty, so we will not get
1150 # unnecessary blank line warnings later in the code.
1151 for i in range(begin, end):
1152 lines[i] = '// dummy'
1153
1154
1155def RemoveMultiLineComments(filename, lines, error):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected