forked from OSchip/llvm-project
Generalize searching for the keyword "leak" in a bug type.
llvm-svn: 58115
This commit is contained in:
parent
920406b5ca
commit
4bc52fdd75
|
@ -162,7 +162,7 @@ class RadarClassificationParameter(SelectionParameter):
|
|||
return False
|
||||
|
||||
def getValue(self,r,bugtype,getConfigOption):
|
||||
if bugtype.startswith("leak"):
|
||||
if bugtype.find("leak") != -1:
|
||||
return '3'
|
||||
elif bugtype.find("dereference") != -1:
|
||||
return '2'
|
||||
|
|
Loading…
Reference in New Issue