Home | History | Annotate | Download | only in tools

Lines Matching refs:Filters

123       Specify a comma-separated list of category-filters to apply: only
124 error messages whose category names pass the filters will be printed.
126 "[whitespace/indent]".) Filters are evaluated left to right.
561 # filters to apply when emitting error messages
562 self.filters = _DEFAULT_FILTERS[:]
596 def SetFilters(self, filters):
597 """Sets the error-message filters.
599 These filters are applied when deciding whether to emit a given
603 filters: A string of comma-separated filters (eg "+whitespace/indent").
607 ValueError: The comma-separated filters did not all start with '+' or '-'.
610 # Default filters always have less priority than the flag ones.
611 self.filters = _DEFAULT_FILTERS[:]
612 for filt in filters.split(','):
615 self.filters.append(clean_filt)
616 for filt in self.filters:
618 raise ValueError('Every filter in --filters must start with + or -'
683 """Returns the module's list of output filters, as a list."""
684 return _cpplint_state.filters
687 def _SetFilters(filters):
688 """Sets the module's error-message filters.
690 These filters are applied when deciding whether to emit a given
694 filters: A string of comma-separated filters (eg "whitespace/indent").
697 _cpplint_state.SetFilters(filters)
863 # the verbosity level isn't high enough, or the filters filter it out.
4024 filters = ''
4046 filters = val
4047 if not filters:
4062 _SetFilters(filters)