Ian Rogers
32bb9bd03a
Add error prone patterns to warn.py
...
Bug: 28681096
(cherry picked from commit df79adacab
)
Change-Id: I06ac0ed4593b03cea0a8163ca85e393ff1358855
2016-05-10 13:54:36 -07:00
Ian Rogers
2f4ce82d13
Sort warnings with most frequent first.
...
Change-Id: Id608c20d065bec83dcb2993658cc743d5e9dcb46
2016-05-10 09:34:29 -07:00
Chih-Hung Hsieh
d742e90fe9
Recognize more Clang-Tidy google warning patterns.
...
* Many AOSP C/C++ code have google-readability warnings.
Bug: http://b/27779618
Change-Id: Ic7d33b957da5c1062410f48ef18bb68a5aa259e9
2016-03-31 16:14:55 -07:00
Chih-Hung Hsieh
90d4619f02
Recognize Clang-Tidy warning messages.
...
* Put all Clang-Tidy warning messages in a group for now.
There are too many coding style warnings.
* Change the 'top' link to the top of the page.
* Add a few more new clang compiler warnings.
Bug: http://b/27779618
Change-Id: I385b9db927a397704b56f53440301352da8694cf
2016-03-29 15:33:11 -07:00
Chih-Hung Hsieh
a9be47e782
Dump table of warning counts before all warnings.
...
* The table of warning counts has links to each warning pattern section,
which has a new anchor.
* Each warning pattern section has a new link to the 'top' of the table
of warning counts.
* Background color of unknown warnings is changed to more visible light blue.
BUG: 27698849
Change-Id: Ia3d4a8511bd42f44f6a47afcb9c3889f6d62b9f2
2016-03-22 10:44:11 -07:00
Chih-Hung Hsieh
ba0ddcd099
Add more patterns, dump sorted unique warnings.
...
* Sort and remove duplicated warning messages.
* Recognize more warning message patterns from new clang compiler.
BUG: http://b/27698849
Change-Id: Iebbe8600353269d8c2d49ef9d97a72be1d978a24
2016-03-22 16:31:18 +00:00
Chih-Hung Hsieh
f8aaf60ceb
Classify more warning patterns.
...
Some warnings are from clang static analyzer
and they do not have compiler -W flag.
BUG: 27698849
Change-Id: I3d1fc9c2d6c60100e87f8ea201d3f8314370fccd
2016-03-16 15:15:40 -07:00
Marco Nelissen
8e20196b81
Update warn.py with more warnings
...
Change-Id: Ic65e6effe2be60d6a6c2a53c6acf356ad9e7ea94
2010-03-10 16:16:02 -08:00
Marco Nelissen
2bdc7ec9cf
Speed up warn.py about 30x by precompiling all the regular expressions.
2009-09-29 10:19:29 -07:00
Marco Nelissen
5236fbde30
Update warn.py with the latest warnings that popped up in the build.
2009-07-31 09:02:11 -07:00
Marco Nelissen
594375db5f
Python script to parse a build log and present the warnings in html
2009-07-14 12:22:29 -07:00