forked from openkylin/platform_build
Recognize more Clang-Tidy google warning patterns.
* Many AOSP C/C++ code have google-readability warnings. Bug: http://b/27779618 Change-Id: Ic7d33b957da5c1062410f48ef18bb68a5aa259e9
This commit is contained in:
parent
8db170d914
commit
d742e90fe9
|
@ -645,6 +645,12 @@ warnpatterns = [
|
|||
{ 'category':'C/C++', 'severity':severity.TIDY, 'members':[], 'option':'',
|
||||
'description':'clang-tidy google-explicit',
|
||||
'patterns':[r".*: .+\[google-explicit-.+\]$"] },
|
||||
{ 'category':'C/C++', 'severity':severity.TIDY, 'members':[], 'option':'',
|
||||
'description':'clang-tidy google-readability',
|
||||
'patterns':[r".*: .+\[google-readability-.+\]$"] },
|
||||
{ 'category':'C/C++', 'severity':severity.TIDY, 'members':[], 'option':'',
|
||||
'description':'clang-tidy google-global',
|
||||
'patterns':[r".*: .+\[google-global-.+\]$"] },
|
||||
{ 'category':'C/C++', 'severity':severity.TIDY, 'members':[], 'option':'',
|
||||
'description':'clang-tidy modernize',
|
||||
'patterns':[r".*: .+\[modernize-.+\]$"] },
|
||||
|
|
Loading…
Reference in New Issue