6d4fe5cdd5
* Run clang-tidy on the full code base * Run clang-tidy on diffs * Enable ASAN in coverage build * Add UBSAN to code analysis
10 lines
459 B
Bash
Executable File
10 lines
459 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# the first sort | uniq is necessary, because the same occurrence of the same error
|
|
# can be reported from headers when they are included in multiple source files
|
|
`dirname ${BASH_SOURCE[0]}`/grep_error_lines.sh |
|
|
sort | uniq |
|
|
sed -E 's/.*\[(.*)\]\r?$/\1/g' | # extract the check name from [check-name]
|
|
sort | uniq -c | # count each type of check
|
|
sort -nr # sort them into descending order
|