1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Cosmetics

Change-Id: I2bb2c3a4d9621491da5f1b51b7f0c416713e262b
This commit is contained in:
Sergey Prigogin 2016-12-20 11:56:10 -08:00
parent 659ff8c4a7
commit 19d356b95e

View file

@ -391,7 +391,6 @@ public class EvalUnary extends CPPDependentEvaluation {
return new EvalUnary(fOperator, argument, binding, getTemplateDefinition());
}
private ICPPEvaluation createOperatorOverloadEvaluation(ICPPFunction overload, IASTNode point, ICPPEvaluation arg) {
if (overload instanceof ICPPMethod) {
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) {
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) {