ignore constructors for method-can-be-private analysis
doesn't work right now Change-Id: I43693104f4af204a6bd0c22b0f7ef53c1a14bb6e
This commit is contained in:
@@ -333,6 +333,9 @@ for d in publicDefinitionSet:
|
||||
method = d[0] + " " + d[1]
|
||||
if d in calledFromOutsideSet:
|
||||
continue
|
||||
# TODO ignore constructors for now, my called-from-outside analysis doesn't work here
|
||||
if d[0] == "":
|
||||
continue
|
||||
if isOtherConstness(d, calledFromOutsideSet):
|
||||
continue
|
||||
# ignore external code
|
||||
|
Reference in New Issue
Block a user