MCPcopy Index your code
hub / github.com/cpplint/cpplint / _SetFilters

Function _SetFilters

cpplint.py:1598–1608  ·  view source on GitHub ↗

Sets the module's error-message filters. These filters are applied when deciding whether to emit a given error message. Args: filters: A string of comma-separated filters (eg "whitespace/indent"). Each filter should start with + or -; else we die.

(filters)

Source from the content-addressed store, hash-verified

1596
1597
1598def _SetFilters(filters):
1599 """Sets the module's error-message filters.
1600
1601 These filters are applied when deciding whether to emit a given
1602 error message.
1603
1604 Args:
1605 filters: A string of comma-separated filters (eg "whitespace/indent").
1606 Each filter should start with + or -; else we die.
1607 """
1608 _cpplint_state.SetFilters(filters)
1609
1610
1611def _AddFilters(filters):

Callers 1

ParseArgumentsFunction · 0.85

Calls 1

SetFiltersMethod · 0.80

Tested by

no test coverage detected