1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-05 14:43:36 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2012-08-17 12:58:34 -07:00
parent e98ee53a9f
commit 59866cf812

View file

@ -1014,8 +1014,8 @@ public class CPPVisitor extends ASTQueries {
} }
} else if (node instanceof IASTInitializer) { } else if (node instanceof IASTInitializer) {
if (node instanceof ICPPASTConstructorChainInitializer) { if (node instanceof ICPPASTConstructorChainInitializer) {
// The name of the member initializer is resolved in the scope of the // The name of the member initializer is resolved in the scope of
// owner of the ctor. // the owner of the ctor.
ICPPASTConstructorChainInitializer initializer = (ICPPASTConstructorChainInitializer) node; ICPPASTConstructorChainInitializer initializer = (ICPPASTConstructorChainInitializer) node;
IASTFunctionDefinition fdef= (IASTFunctionDefinition) initializer.getParent(); IASTFunctionDefinition fdef= (IASTFunctionDefinition) initializer.getParent();
IBinding binding = fdef.getDeclarator().getName().resolveBinding(); IBinding binding = fdef.getDeclarator().getName().resolveBinding();