MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / RemoveMultiLineCommentsFromRange

Function RemoveMultiLineCommentsFromRange

src/tests/coding/cpplint.py:1861–1866  ·  view source on GitHub ↗

Clears a range of lines for multi-line comments.

(lines, begin, end)

Source from the content-addressed store, hash-verified

1859
1860
1861def RemoveMultiLineCommentsFromRange(lines, begin, end):
1862 """Clears a range of lines for multi-line comments."""
1863 # Having // <empty> comments makes the lines non-empty, so we will not get
1864 # unnecessary blank line warnings later in the code.
1865 for i in range(begin, end):
1866 lines[i] = '/**/'
1867
1868
1869def RemoveMultiLineComments(filename, lines, error):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected