Merge "Recognize new warning messages."

This commit is contained in:
Treehugger Robot 2016-09-23 04:33:11 +00:00 committed by Gerrit Code Review
commit b0553ca65b
1 changed files with 6 additions and 0 deletions

View File

@ -325,6 +325,9 @@ warnpatterns = [
{ 'category':'C/C++', 'severity':severity.MEDIUM, 'option':'-Wunknown-pragmas',
'description':'Ignoring pragma',
'patterns':[r".*: warning: ignoring #pragma .+"] },
{ 'category':'C/C++', 'severity':severity.MEDIUM, 'option':'-W#pragma-messages',
'description':'Pragma warning messages',
'patterns':[r".*: warning: .+W#pragma-messages"] },
{ 'category':'C/C++', 'severity':severity.MEDIUM, 'option':'-Wclobbered',
'description':'Variable might be clobbered by longjmp or vfork',
'patterns':[r".*: warning: variable '.+' might be clobbered by 'longjmp' or 'vfork'"] },
@ -1427,6 +1430,9 @@ warnpatterns = [
{ 'category':'C/C++', 'severity':severity.MEDIUM,
'description':'Closing a previously closed file',
'patterns':[r".*: warning: Closing a previously closed file"] },
{ 'category':'C/C++', 'severity':severity.MEDIUM, 'option':'-Wunnamed-type-template-args',
'description':'Unnamed template type argument',
'patterns':[r".*: warning: template argument.+Wunnamed-type-template-args"] },
{ 'category':'C/C++', 'severity':severity.HARMLESS,
'description':'Discarded qualifier from pointer target type',