Home
last modified time | relevance | path

Searched refs:severity (Results 1 – 9 of 9) sorted by relevance

/build/bazel/rules/java/errorprone/
DgenerateErrorProneCompatibilityFlags.py49 if line in [severity.name for severity in Severity]:
83 def check_to_flag_string(check_name, severity): argument
84 return "-Xep:" + check_name + ":" + severity.to_flag_string()
100 for check_name, severity in compatibility_checks.items():
101 severity_to_flag[severity].append(check_to_flag_string(check_name, severity))
103 for severity in severity_to_flag:
104 severity_to_flag[severity].sort()
131 for severity in Severity:
132 f.write(" # Errorprone {severity}\n".format(severity=severity.name))
133 for flag in flags[severity]:
/build/make/tools/warn/
Dother_warn_patterns.py23 from .severity import Severity
26 def warn(name, severity, description, pattern_list): argument
29 'severity': severity,
56 def rust(severity, description, pattern): argument
57 return warn('Rust', severity, description,
Dhtml_writer.py64 from .severity import Severity
182 for severity in Severity.levels:
183 if total_by_severity[severity.value]:
186 severity.color, severity.column_header))
212 for severity in Severity.levels:
213 if total_by_severity[severity.value]:
214 one_row.append(warnings[p_name][severity.value])
235 for severity in Severity.levels:
236 if total_by_severity[severity.value]:
237 one_row.append(total_by_severity[severity.value])
[all …]
Dseverity.py60 levels = sorted(levels, key=lambda severity: severity.value)
Djava_warn_patterns.py23 from .severity import Severity
26 def java_warn(severity, description, pattern_list): argument
29 'severity': severity,
43 def warn_with_name(name, severity, description=None): argument
46 return java_warn(severity, description,
Dmake_warn_patterns.py20 from .severity import Severity
Dcpp_warn_patterns.py24 from .severity import Severity
27 def cpp_warn(severity, description, pattern_list): argument
30 'severity': severity,
Dtidy_warn_patterns.py23 from .severity import Severity
/build/soong/java/
Dlint_defaults.txt126 # TODO(b/303434307) The intent is for this to be set to error severity