Merge "Recognize new warning messages."
am: b0553ca65b
Change-Id: Ic2f262f62121e19e1daba9a0a3c95fd6ebcc2b1a
This commit is contained in:
commit
d95f164112
1 changed files with 6 additions and 0 deletions
|
@ -325,6 +325,9 @@ warnpatterns = [
|
||||||
{ 'category':'C/C++', 'severity':severity.MEDIUM, 'option':'-Wunknown-pragmas',
|
{ 'category':'C/C++', 'severity':severity.MEDIUM, 'option':'-Wunknown-pragmas',
|
||||||
'description':'Ignoring pragma',
|
'description':'Ignoring pragma',
|
||||||
'patterns':[r".*: warning: 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',
|
{ 'category':'C/C++', 'severity':severity.MEDIUM, 'option':'-Wclobbered',
|
||||||
'description':'Variable might be clobbered by longjmp or vfork',
|
'description':'Variable might be clobbered by longjmp or vfork',
|
||||||
'patterns':[r".*: warning: 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,
|
{ 'category':'C/C++', 'severity':severity.MEDIUM,
|
||||||
'description':'Closing a previously closed file',
|
'description':'Closing a previously closed file',
|
||||||
'patterns':[r".*: warning: 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,
|
{ 'category':'C/C++', 'severity':severity.HARMLESS,
|
||||||
'description':'Discarded qualifier from pointer target type',
|
'description':'Discarded qualifier from pointer target type',
|
||||||
|
|
Loading…
Reference in a new issue