MCPcopy Index your code
hub / github.com/cpplint/cpplint / FindNextMultiLineCommentEnd

Function FindNextMultiLineCommentEnd

cpplint.py:2023–2029  ·  view source on GitHub ↗

We are inside a comment, find the end marker.

(lines, lineix)

Source from the content-addressed store, hash-verified

2021
2022
2023def FindNextMultiLineCommentEnd(lines, lineix):
2024 """We are inside a comment, find the end marker."""
2025 while lineix < len(lines):
2026 if lines[lineix].strip().endswith("*/"):
2027 return lineix
2028 lineix += 1
2029 return len(lines)
2030
2031
2032def RemoveMultiLineCommentsFromRange(lines, begin, end):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected