* Compute the output checksum. * This is called as an assert so it is for debug config only */
| 6310 | * This is called as an assert so it is for debug config only |
| 6311 | */ |
| 6312 | bool ASFormatter::computeChecksumOut(const string &beautifiedLine) |
| 6313 | { |
| 6314 | for (size_t i = 0; i < beautifiedLine.length(); i++) |
| 6315 | if (!isWhiteSpace(beautifiedLine[i])) |
| 6316 | checksumOut += beautifiedLine[i]; |
| 6317 | return true; |
| 6318 | } |
| 6319 | |
| 6320 | /** |
| 6321 | * Return isLineReady for the final check at end of file. |
nothing calls this directly
no outgoing calls
no test coverage detected