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

Function _get_default_compiler

Tools/c-analyzer/c_parser/preprocessor/__init__.py:242–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240
241
242def _get_default_compiler():
243 if re.match('cygwin.*', sys.platform) is not None:
244 return 'unix'
245 if os.name == 'nt':
246 return 'msvc'
247 if sys.platform == 'darwin' and 'clang' in platform.python_compiler():
248 return 'clang'
249 return 'unix'
250
251
252def _get_preprocessor(tool):

Callers 1

_get_preprocessorFunction · 0.85

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…