MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / ProcessHppHeadersOption

Function ProcessHppHeadersOption

util/cpplint.py:560–567  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

558_global_error_suppressions = {}
559
560def ProcessHppHeadersOption(val):
561 global _hpp_headers
562 try:
563 _hpp_headers = set(val.split(','))
564 # Automatically append to extensions list so it does not have to be set 2 times
565 _valid_extensions.update(_hpp_headers)
566 except ValueError:
567 PrintUsage('Header extensions must be comma seperated list.')
568
569def IsHeaderExtension(file_extension):
570 return file_extension in _hpp_headers

Callers 2

ProcessConfigOverridesFunction · 0.85
ParseArgumentsFunction · 0.85

Calls 2

PrintUsageFunction · 0.85
setFunction · 0.50

Tested by

no test coverage detected