mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Adjusted Javadoc.
This commit is contained in:
parent
cdbf45f53c
commit
dd3a45bcdf
2 changed files with 6 additions and 3 deletions
|
@ -137,8 +137,11 @@ public abstract class CPPEvaluation implements ICPPEvaluation {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If a user-defined conversion is required to convert 'argument' to type 'targetType',
|
* If a user-defined conversion is required to convert 'argument' to type 'targetType',
|
||||||
* return 'argument' wrapped in an evaluation representing the conversion.
|
* returns 'argument' wrapped in an evaluation representing the conversion.
|
||||||
* Otherwise, return 'argument' unmodified.
|
* 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
|
* @param point point of instantiation for name lookups
|
||||||
*/
|
*/
|
||||||
protected static ICPPEvaluation maybeApplyConversion(ICPPEvaluation argument, IType targetType,
|
protected static ICPPEvaluation maybeApplyConversion(ICPPEvaluation argument, IType targetType,
|
||||||
|
|
|
@ -210,7 +210,7 @@ public class EvalMemberAccess extends CPPDependentEvaluation {
|
||||||
|
|
||||||
if (CPPTemplates.isDependentType(type)) {
|
if (CPPTemplates.isDependentType(type)) {
|
||||||
return returnDependent
|
return returnDependent
|
||||||
// The type resulting from dereferecing 'type'
|
// The type resulting from dereferencing 'type'
|
||||||
? new TypeOfDependentExpression(new EvalUnary(IASTUnaryExpression.op_star,
|
? new TypeOfDependentExpression(new EvalUnary(IASTUnaryExpression.op_star,
|
||||||
new EvalFixed(type, LVALUE, Value.UNKNOWN), null, point))
|
new EvalFixed(type, LVALUE, Value.UNKNOWN), null, point))
|
||||||
: null;
|
: null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue