MCPcopy Create free account
hub / github.com/numpy/numpy / sanitize_cxx_flags

Function sanitize_cxx_flags

numpy/distutils/misc_util.py:2477–2481  ·  view source on GitHub ↗

Some flags are valid for C but not C++. Prune them.

(cxxflags)

Source from the content-addressed store, hash-verified

2475
2476
2477def sanitize_cxx_flags(cxxflags):
2478 '''
2479 Some flags are valid for C but not C++. Prune them.
2480 '''
2481 return [flag for flag in cxxflags if flag not in _cxx_ignore_flags]
2482
2483
2484def exec_mod_from_location(modname, modfile):

Callers 1

CCompiler_cxx_compilerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected