Recognize new warning messages.
* -Wunnamed-type-template-args and -W#pragma-messages Test: run warn.py with build.log. Change-Id: I36277e001081604f92a4d9c92f9a0b5d3f0ee5e5
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user