diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPEvaluation.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPEvaluation.java index 62f6c1d0732..818d2bab14c 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPEvaluation.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPEvaluation.java @@ -137,8 +137,11 @@ public abstract class CPPEvaluation implements ICPPEvaluation { /** * If a user-defined conversion is required to convert 'argument' to type 'targetType', - * return 'argument' wrapped in an evaluation representing the conversion. - * Otherwise, return 'argument' unmodified. + * returns 'argument' wrapped in an evaluation representing the conversion. + * Otherwise, returns 'argument' unmodified. + * + * @param argument the evaluation to convert + * @param targetType the type to convert to * @param point point of instantiation for name lookups */ protected static ICPPEvaluation maybeApplyConversion(ICPPEvaluation argument, IType targetType, diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalMemberAccess.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalMemberAccess.java index eff7d8b2d7e..3cfa78deeb1 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalMemberAccess.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/EvalMemberAccess.java @@ -210,7 +210,7 @@ public class EvalMemberAccess extends CPPDependentEvaluation { if (CPPTemplates.isDependentType(type)) { return returnDependent - // The type resulting from dereferecing 'type' + // The type resulting from dereferencing 'type' ? new TypeOfDependentExpression(new EvalUnary(IASTUnaryExpression.op_star, new EvalFixed(type, LVALUE, Value.UNKNOWN), null, point)) : null;