1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Adjusted Javadoc.

This commit is contained in:
Sergey Prigogin 2016-06-03 17:49:57 -07:00
parent cdbf45f53c
commit dd3a45bcdf
2 changed files with 6 additions and 3 deletions

View file

@ -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,

View file

@ -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;