MCPcopy Index your code
hub / github.com/python/cpython / _cli_preprocess

Function _cli_preprocess

Tools/c-analyzer/c_parser/preprocessor/__main__.py:74–86  ·  view source on GitHub ↗
(parser, excluded=None, **prepr_kwargs)

Source from the content-addressed store, hash-verified

72# the commands
73
74def _cli_preprocess(parser, excluded=None, **prepr_kwargs):
75 parser.add_argument('--pure', action='store_true')
76 parser.add_argument('--no-pure', dest='pure', action='store_const', const=False)
77 process_kinds = add_kind_filtering_cli(parser)
78 process_common = add_common_cli(parser, **prepr_kwargs)
79 parser.add_argument('--raw', action='store_true')
80 process_files = add_files_cli(parser, excluded=excluded)
81
82 return [
83 process_kinds,
84 process_common,
85 process_files,
86 ]
87
88
89def cmd_preprocess(filenames, *,

Callers

nothing calls this directly

Calls 4

add_kind_filtering_cliFunction · 0.90
add_files_cliFunction · 0.90
add_common_cliFunction · 0.85
add_argumentMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…