MCPcopy Index your code
hub / github.com/nodejs/node / IsMacroDefinition

Function IsMacroDefinition

tools/cpplint.py:3011–3015  ·  view source on GitHub ↗
(clean_lines, linenum)

Source from the content-addressed store, hash-verified

3009
3010
3011def IsMacroDefinition(clean_lines, linenum):
3012 if re.search(r"^#define", clean_lines[linenum]):
3013 return True
3014
3015 return bool(linenum > 0 and re.search(r"\\$", clean_lines[linenum - 1]))
3016
3017
3018def IsForwardClassDeclaration(clean_lines, linenum):

Callers 1

Calls 1

searchMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…