From 853af1574bc29211436a3286bc219e73a1d1f7d8 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Wed, 27 Nov 2013 16:20:35 -0800 Subject: [PATCH] Cosmetics. --- .../core/dom/parser/cpp/semantics/CPPSemantics.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java index a6a7cfb051e..8f9806e5c73 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics.java @@ -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 potentialCosts= null;