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

Method pointerSymbolFollows

astyle/src/ASFormatter.cpp:6268–6274  ·  view source on GitHub ↗

* Check if a pointer symbol (->) follows on the currentLine. */

Source from the content-addressed store, hash-verified

6266 * Check if a pointer symbol (->) follows on the currentLine.
6267 */
6268bool ASFormatter::pointerSymbolFollows() const
6269{
6270 size_t peekNum = currentLine.find_first_not_of(" \t", charNum + 1);
6271 if (peekNum == string::npos || currentLine.compare(peekNum, 2, "->") != 0)
6272 return false;
6273 return true;
6274}
6275
6276/**
6277 * Compute the input checksum.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected