1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2012-12-05 19:39:01 -08:00
parent a7797cd437
commit 823e0d0984

View file

@ -111,7 +111,7 @@ public class CPPClosureType extends PlatformObject implements ICPPClassType, ICP
}
m= new CPPImplicitMethod(scope, OverloadableOperator.PAREN.toCharArray(), ft, params) {
@Override
public boolean isImplicit() {return false;}
public boolean isImplicit() { return false; }
};
result[4]= m;
@ -147,7 +147,7 @@ public class CPPClosureType extends PlatformObject implements ICPPClassType, ICP
IASTStatement[] stmts = body.getStatements();
if (stmts.length > 0) {
// Gnu extension allows to deduce return type in complex compound statements
IASTStatement stmt= stmts[stmts.length-1];
IASTStatement stmt= stmts[stmts.length - 1];
if (stmt instanceof IASTReturnStatement) {
IASTReturnStatement rtstmt= (IASTReturnStatement) stmt;
IASTExpression expr= rtstmt.getReturnValue();