Loading tools/warn.py +1 −4 Original line number Original line Diff line number Diff line Loading @@ -1508,7 +1508,7 @@ warnpatterns = [ { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'-Wconversion', { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'-Wconversion', 'description':'Conversion may change value', 'description':'Conversion may change value', 'patterns':[r".*: warning: converting negative value '.+' to '.+'", 'patterns':[r".*: warning: converting negative value '.+' to '.+'", r".*: warning: conversion to '.+' .+ may alter its value"] }, r".*: warning: conversion to '.+' .+ may (alter|change)"] }, { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'-Wconversion-null', { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'-Wconversion-null', 'description':'Converting to non-pointer type from NULL', 'description':'Converting to non-pointer type from NULL', 'patterns':[r".*: warning: converting to non-pointer type '.+' from NULL"] }, 'patterns':[r".*: warning: converting to non-pointer type '.+' from NULL"] }, Loading Loading @@ -1551,9 +1551,6 @@ warnpatterns = [ { 'category':'C/C++', 'severity':severity.HIGH, 'members':[], 'option':'-Wextra', { 'category':'C/C++', 'severity':severity.HIGH, 'members':[], 'option':'-Wextra', 'description':'Base should be explicitly initialized in copy constructor', 'description':'Base should be explicitly initialized in copy constructor', 'patterns':[r".*: warning: base class '.+' should be explicitly initialized in the copy constructor"] }, 'patterns':[r".*: warning: base class '.+' should be explicitly initialized in the copy constructor"] }, { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'', 'description':'Converting from <type> to <other type>', 'patterns':[r".*: warning: converting to '.+' from '.+'"] }, { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'', { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'', 'description':'VLA has zero or negative size', 'description':'VLA has zero or negative size', 'patterns':[r".*: warning: Declared variable-length array \(VLA\) has .+ size"] }, 'patterns':[r".*: warning: Declared variable-length array \(VLA\) has .+ size"] }, Loading Loading
tools/warn.py +1 −4 Original line number Original line Diff line number Diff line Loading @@ -1508,7 +1508,7 @@ warnpatterns = [ { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'-Wconversion', { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'-Wconversion', 'description':'Conversion may change value', 'description':'Conversion may change value', 'patterns':[r".*: warning: converting negative value '.+' to '.+'", 'patterns':[r".*: warning: converting negative value '.+' to '.+'", r".*: warning: conversion to '.+' .+ may alter its value"] }, r".*: warning: conversion to '.+' .+ may (alter|change)"] }, { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'-Wconversion-null', { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'-Wconversion-null', 'description':'Converting to non-pointer type from NULL', 'description':'Converting to non-pointer type from NULL', 'patterns':[r".*: warning: converting to non-pointer type '.+' from NULL"] }, 'patterns':[r".*: warning: converting to non-pointer type '.+' from NULL"] }, Loading Loading @@ -1551,9 +1551,6 @@ warnpatterns = [ { 'category':'C/C++', 'severity':severity.HIGH, 'members':[], 'option':'-Wextra', { 'category':'C/C++', 'severity':severity.HIGH, 'members':[], 'option':'-Wextra', 'description':'Base should be explicitly initialized in copy constructor', 'description':'Base should be explicitly initialized in copy constructor', 'patterns':[r".*: warning: base class '.+' should be explicitly initialized in the copy constructor"] }, 'patterns':[r".*: warning: base class '.+' should be explicitly initialized in the copy constructor"] }, { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'', 'description':'Converting from <type> to <other type>', 'patterns':[r".*: warning: converting to '.+' from '.+'"] }, { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'', { 'category':'C/C++', 'severity':severity.MEDIUM, 'members':[], 'option':'', 'description':'VLA has zero or negative size', 'description':'VLA has zero or negative size', 'patterns':[r".*: warning: Declared variable-length array \(VLA\) has .+ size"] }, 'patterns':[r".*: warning: Declared variable-length array \(VLA\) has .+ size"] }, Loading