mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 17:25:38 +02:00
Cosmetics.
This commit is contained in:
parent
02001dbe71
commit
853af1574b
1 changed files with 3 additions and 3 deletions
|
@ -2353,7 +2353,7 @@ public class CPPSemantics {
|
||||||
numArgs--;
|
numArgs--;
|
||||||
|
|
||||||
boolean ok;
|
boolean ok;
|
||||||
if (numArgs-packExpansionCount > numPars) {
|
if (numArgs - packExpansionCount > numPars) {
|
||||||
// More arguments than parameters --> need ellipsis or parameter pack
|
// More arguments than parameters --> need ellipsis or parameter pack
|
||||||
ok= fn.takesVarArgs() || fn.hasParameterPack();
|
ok= fn.takesVarArgs() || fn.hasParameterPack();
|
||||||
} else {
|
} else {
|
||||||
|
@ -2437,8 +2437,8 @@ public class CPPSemantics {
|
||||||
return CPPDeferredFunction.createForCandidates(fns);
|
return CPPDeferredFunction.createForCandidates(fns);
|
||||||
}
|
}
|
||||||
|
|
||||||
IFunction[] ambiguousFunctions= null; // ambiguity, 2 functions are equally good
|
IFunction[] ambiguousFunctions= null; // Ambiguity, 2 functions are equally good.
|
||||||
FunctionCost bestFnCost = null; // the cost of the best function
|
FunctionCost bestFnCost = null; // The cost of the best function.
|
||||||
|
|
||||||
// Loop over all functions
|
// Loop over all functions
|
||||||
List<FunctionCost> potentialCosts= null;
|
List<FunctionCost> potentialCosts= null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue