1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-07 08:15:48 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2013-11-27 16:20:35 -08:00
parent 02001dbe71
commit 853af1574b

View file

@ -2353,7 +2353,7 @@ public class CPPSemantics {
numArgs--;
boolean ok;
if (numArgs-packExpansionCount > numPars) {
if (numArgs - packExpansionCount > numPars) {
// More arguments than parameters --> need ellipsis or parameter pack
ok= fn.takesVarArgs() || fn.hasParameterPack();
} else {
@ -2437,8 +2437,8 @@ public class CPPSemantics {
return CPPDeferredFunction.createForCandidates(fns);
}
IFunction[] ambiguousFunctions= null; // ambiguity, 2 functions are equally good
FunctionCost bestFnCost = null; // the cost of the best function
IFunction[] ambiguousFunctions= null; // Ambiguity, 2 functions are equally good.
FunctionCost bestFnCost = null; // The cost of the best function.
// Loop over all functions
List<FunctionCost> potentialCosts= null;