MCPcopy Create free account
hub / github.com/dirkvranckaert/AndroidDecompiler / computeChecksumOut

Method computeChecksumOut

astyle/src/ASFormatter.cpp:6312–6318  ·  view source on GitHub ↗

* Compute the output checksum. * This is called as an assert so it is for debug config only */

Source from the content-addressed store, hash-verified

6310 * This is called as an assert so it is for debug config only
6311 */
6312bool 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected