Internal code coverage cleanups.

This commit is contained in:
Wilson Snyder
2021-03-07 21:05:15 -05:00
parent 1533693654
commit 9483ebefae
10 changed files with 47 additions and 67 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ void FileLine::forwardToken(const char* textp, size_t size, bool trackLines) {
if (*sp == '\n') {
if (trackLines) linenoInc();
m_lastColumn = 1;
} else if (*sp == '\r') {
} else if (VL_UNCOVERABLE(*sp == '\r')) { // Generally stripped by preproc
} else { // Tabs are considered one column; hence column means number of chars
++m_lastColumn;
}