MCPcopy Create free account
hub / github.com/cmu-db/bustub / CheckEmptyBlockBody

Function CheckEmptyBlockBody

build_support/cpplint.py:4237–4338  ·  view source on GitHub ↗

Look for empty loop/conditional body with only a single semicolon. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the file. linenum: The number of the line to check. error: The function to call with any errors found.

(filename, clean_lines, linenum, error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

CheckStyleFunction · 0.85

Calls 4

MatchFunction · 0.85
CloseExpressionFunction · 0.85
SearchFunction · 0.85
CleanseCommentsFunction · 0.85

Tested by

no test coverage detected