parameters: (cxxflags)
return_statement: return [flag for flag in cxxflags if flag not in _cxx_ignore_flags]
docstring: Some flags are valid for C but not C++. Prune them.
docstring_summary: Some flags are valid for C but not C++. Prune them.
docstring_tokens: Some flags are valid for C but not C ++ . Prune them .
function: def sanitize_cxx_flags(cxxflags):
      '''
      Some flags are valid for C but not C++. Prune them.
      '''
      return [flag for flag in cxxflags if flag not in _cxx_ignore_flags]
function_tokens: def sanitize_cxx_flags ( cxxflags ) : return [ flag for flag in cxxflags if flag not in _cxx_ignore_flags ]