Merge "Recognize new warning messages."

am: b0553ca65b

Change-Id: Ic2f262f62121e19e1daba9a0a3c95fd6ebcc2b1a
This commit is contained in:
Chih-Hung Hsieh 2016-09-23 04:37:12 +00:00 committed by android-build-merger
commit d95f164112

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',