1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

Bug 564026: CPPSemantics.selectByArumentCount does not trim after

removing elements from the result array

the list of candidate functions is filtered for redundant elements. The
returned array must be shrunk to avoid NullpointerExceptions further
down the road.

Change-Id: I5f3c5a19433266dd20492241fd74edc43fbfc0ef
Signed-off-by: Michael Woski <woskimi@yahoo.de>
This commit is contained in:
Michael Woski 2020-06-07 09:10:10 +02:00 committed by Jonah Graham
parent 65473abf07
commit c7895abec0

View file

@ -2655,7 +2655,7 @@ public class CPPSemantics {
} }
} }
} }
return result; return ArrayUtil.trim(result);
} }
/** /**