MCPcopy Create free account
hub / github.com/Evolving-AI-Lab/fooling / CheckCStyleCast

Function CheckCStyleCast

caffe/scripts/cpp_lint.py:4177–4268  ·  view source on GitHub ↗

Checks for a C-style cast by looking for the pattern. Args: filename: The name of the current file. linenum: The number of the line to check. line: The line of code to check. raw_line: The raw line of code to check, with comments. cast_type: The string for the C++ cast to reco

(filename, linenum, line, raw_line, cast_type, pattern,
                    error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

CheckLanguageFunction · 0.85

Calls 3

SearchFunction · 0.85
MatchFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected