Add new compiler warning patterns
* Mostly new Java and Kotlin warnings found in nightly builds. * More clean up of Java and C++ warning patterns will follow. Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html Change-Id: I8776401d15c3a59535722d52a5eec03f954d3b15
This commit is contained in:
@@ -426,6 +426,9 @@ patterns = [
|
||||
{'category': 'C/C++', 'severity': Severity.MEDIUM, 'option': '-Wnon-literal-null-conversion',
|
||||
'description': 'Zero used as null pointer',
|
||||
'patterns': [r".*: warning: expression .* zero treated as a null pointer constant"]},
|
||||
{'category': 'C/C++', 'severity': Severity.MEDIUM, 'option': '-Wpointer-compare',
|
||||
'description': 'Compare pointer to null character',
|
||||
'patterns': [r".*: warning: comparing a pointer to a null character constant"]},
|
||||
{'category': 'C/C++', 'severity': Severity.MEDIUM,
|
||||
'description': 'Implicit conversion changes value or loses precision',
|
||||
'patterns': [r".*: warning: implicit conversion .* changes value from .* to .*-conversion",
|
||||
|
Reference in New Issue
Block a user