(line: str)
| 64 | |
| 65 | # Strips the given line from // and /* */ blocks |
| 66 | def strip_comments(line: str) -> str: |
| 67 | line = re.sub(r"/\*.*\*/", "", line) |
| 68 | line = re.sub(r"//.*", "", line) |
| 69 | return line.strip() |
| 70 | |
| 71 | # If the line |
| 72 | # 1) startswith #ifndef |
no outgoing calls
no test coverage detected