MCPcopy Create free account
hub / github.com/PlatformLab/Arachne / CheckInvalidIncrement

Function CheckInvalidIncrement

scripts/cpplint.py:2032–2051  ·  view source on GitHub ↗

Checks for invalid increment *count++. For example following function: void increment_counter(int* count) { *count++; } is invalid, because it effectively does count++, moving pointer, and should be replaced with ++*count, (*count)++ or *count += 1. Args: filename: The name of

(filename, clean_lines, linenum, error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ProcessLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected