Updates warnhist script to deal with AMD Optimizing Compiler messages (#1713)

This commit is contained in:
Dana Robinson 2022-05-02 17:22:07 -07:00 committed by GitHub
parent b3ef8044cf
commit dad94a100e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,6 +229,9 @@ while (<>) {
# Skip variables with the word 'warning' in them
next if $_ =~ /_warning_/;
# Skip AMD Optimizing Compiler (aocc) lines "<#> warning(s) generated."
next if $_ =~ / warnings? generated\./;
# "Hide" the C++ '::' symbol until we've parsed out the parts of the line
while($_ =~ /\:\:/) {
$_ =~ s/\:\:/@@@@/g;