mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Minor optimization.
This commit is contained in:
parent
c1066f1e4a
commit
325175292a
1 changed files with 2 additions and 2 deletions
|
@ -2352,9 +2352,9 @@ public class CPPSemantics {
|
|||
}
|
||||
|
||||
public static IBinding resolveFunction(LookupData data, ICPPFunction[] fns, boolean allowUDC) throws DOMException {
|
||||
fns= ArrayUtil.trim(ICPPFunction.class, fns);
|
||||
if (fns == null || fns.length == 0)
|
||||
if (fns == null || fns.length == 0 || fns[0] == null)
|
||||
return null;
|
||||
fns= ArrayUtil.trim(fns);
|
||||
|
||||
sortAstBeforeIndex(fns);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue