mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Cosmetics
Change-Id: I2bb2c3a4d9621491da5f1b51b7f0c416713e262b
This commit is contained in:
parent
659ff8c4a7
commit
19d356b95e
1 changed files with 1 additions and 2 deletions
|
@ -391,7 +391,6 @@ public class EvalUnary extends CPPDependentEvaluation {
|
||||||
return new EvalUnary(fOperator, argument, binding, getTemplateDefinition());
|
return new EvalUnary(fOperator, argument, binding, getTemplateDefinition());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private ICPPEvaluation createOperatorOverloadEvaluation(ICPPFunction overload, IASTNode point, ICPPEvaluation arg) {
|
private ICPPEvaluation createOperatorOverloadEvaluation(ICPPFunction overload, IASTNode point, ICPPEvaluation arg) {
|
||||||
if (overload instanceof ICPPMethod) {
|
if (overload instanceof ICPPMethod) {
|
||||||
EvalMemberAccess opAccess = new EvalMemberAccess(arg.getType(point), ValueCategory.LVALUE, overload, arg, false, point);
|
EvalMemberAccess opAccess = new EvalMemberAccess(arg.getType(point), ValueCategory.LVALUE, overload, arg, false, point);
|
||||||
|
@ -475,7 +474,7 @@ public class EvalUnary extends CPPDependentEvaluation {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isStarOperatorOnArrayName(ConstexprEvaluationContext context) {
|
private boolean isStarOperatorOnArrayName(ConstexprEvaluationContext context) {
|
||||||
return fOperator==op_star && fArgument.getType(context.getPoint()) instanceof IArrayType;
|
return fOperator == op_star && fArgument.getType(context.getPoint()) instanceof IArrayType;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void applyPointerArithmetics(EvalPointer poiner) {
|
private void applyPointerArithmetics(EvalPointer poiner) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue