ignore constructors for method-can-be-private analysis

doesn't work right now

Change-Id: I43693104f4af204a6bd0c22b0f7ef53c1a14bb6e
This commit is contained in:
Noel Grandin
2016-11-14 11:32:06 +02:00
parent 616bc7b854
commit 391c6aeeed

View File

@@ -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