mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Comment adjustments.
This commit is contained in:
parent
fdf3bd4146
commit
6500b127d1
1 changed files with 19 additions and 20 deletions
|
@ -2031,7 +2031,6 @@ public class CPPSemantics {
|
|||
if (data.forFunctionDeclaration())
|
||||
return firstViable;
|
||||
|
||||
|
||||
final IType[] sourceParameters = getSourceParameterTypes(data.functionParameters); // the parameters the function is being called with
|
||||
if (CPPTemplates.containsDependentType(sourceParameters)) {
|
||||
if (viableCount == 1)
|
||||
|
@ -2149,7 +2148,7 @@ public class CPPSemantics {
|
|||
// then this is an ambiguity (unless we find something better than both later).
|
||||
ambiguous |= (hasWorse && hasBetter) || (!hasWorse && !hasBetter);
|
||||
|
||||
// mstodo if ambigous ??
|
||||
// mstodo if ambiguous ??
|
||||
if (!hasWorse) {
|
||||
// If they are both template functions, we can order them that way
|
||||
ICPPFunctionTemplate bestAsTemplate= asTemplate(bestFn);
|
||||
|
@ -2296,7 +2295,7 @@ public class CPPSemantics {
|
|||
(prop == IASTExpressionList.NESTED_EXPRESSION &&
|
||||
node.getParent().getPropertyInParent() == IASTFunctionCallExpression.PARAMETERS)) {
|
||||
// target is a parameter of a function
|
||||
// if this function call refers to an overloaded function, there is more than one possiblity
|
||||
// if this function call refers to an overloaded function, there is more than one possibility
|
||||
// for the target type
|
||||
IASTFunctionCallExpression fnCall = null;
|
||||
int idx = -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue