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

Function _AddFilters

cpplint.py:1611–1621  ·  view source on GitHub ↗

Adds more filter overrides. Unlike _SetFilters, this function does not reset the current list of filters available. 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

1609
1610
1611def _AddFilters(filters):
1612 """Adds more filter overrides.
1613
1614 Unlike _SetFilters, this function does not reset the current list of filters
1615 available.
1616
1617 Args:
1618 filters: A string of comma-separated filters (eg "whitespace/indent").
1619 Each filter should start with + or -; else we die.
1620 """
1621 _cpplint_state.AddFilters(filters)
1622
1623
1624def _BackupFilters():

Callers 1

ProcessConfigOverridesFunction · 0.85

Calls 1

AddFiltersMethod · 0.80

Tested by

no test coverage detected