Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-03-15 18:33:33 -0400
committerSergey Prigogin2011-03-15 18:33:33 -0400
commit20e305dee7bd9881e989be3743a7117900cb007a (patch)
tree281cfabc3182c83a6572597996fd1bc6c1e4a2cb
parent74d6ab99d96bae9c6e674216a6342180080c438e (diff)
downloadorg.eclipse.cdt-20e305dee7bd9881e989be3743a7117900cb007a.tar.gz
org.eclipse.cdt-20e305dee7bd9881e989be3743a7117900cb007a.tar.xz
org.eclipse.cdt-20e305dee7bd9881e989be3743a7117900cb007a.zip
Cosmetics.
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTIdExpression.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTIdExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTIdExpression.java
index d4245b9903..2bf8610b17 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTIdExpression.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTIdExpression.java
@@ -50,7 +50,6 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor;
import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil;
public class CPPASTIdExpression extends ASTNode implements IASTIdExpression, ICPPASTCompletionContext {
-
private static final ICPPASTFieldReference NOT_INITIALIZED = new CPPASTFieldReference();
private IASTName name;
@@ -94,8 +93,8 @@ public class CPPASTIdExpression extends ASTNode implements IASTIdExpression, ICP
if (action.shouldVisitExpressions) {
switch (action.visit(this)) {
case ASTVisitor.PROCESS_ABORT: return false;
- case ASTVisitor.PROCESS_SKIP: return true;
- default : break;
+ case ASTVisitor.PROCESS_SKIP: return true;
+ default: break;
}
}
@@ -104,8 +103,8 @@ public class CPPASTIdExpression extends ASTNode implements IASTIdExpression, ICP
if (action.shouldVisitExpressions) {
switch (action.leave(this)) {
case ASTVisitor.PROCESS_ABORT: return false;
- case ASTVisitor.PROCESS_SKIP: return true;
- default : break;
+ case ASTVisitor.PROCESS_SKIP: return true;
+ default: break;
}
}
return true;
@@ -195,7 +194,8 @@ public class CPPASTIdExpression extends ASTNode implements IASTIdExpression, ICP
if (methodBinding instanceof ICPPMethod && !((ICPPMethod) methodBinding).isStatic()) {
IASTName nameDummy= new CPPASTName();
nameDummy.setBinding(binding);
- IASTExpression owner= new CPPASTLiteralExpression(IASTLiteralExpression.lk_this, CharArrayUtils.EMPTY);
+ IASTExpression owner= new CPPASTLiteralExpression(IASTLiteralExpression.lk_this,
+ CharArrayUtils.EMPTY);
owner= new CPPASTUnaryExpression(IASTUnaryExpression.op_star, owner);
fTransformedExpression= new CPPASTFieldReference(nameDummy, owner);
fTransformedExpression.setParent(getParent());

Back to the top