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

Bug 383706. Restored accidentally commented out code.

This commit is contained in:
Sergey Prigogin 2012-06-27 20:01:18 -07:00
parent 4e99b5aea4
commit 962736a429

View file

@ -248,8 +248,8 @@ public class ClassMembersInitializationChecker extends AbstractIndexAstChecker {
private ICPPConstructor getConstructor(IASTDeclaration decl) {
if (decl instanceof ICPPASTFunctionDefinition) {
ICPPASTFunctionDefinition functionDefinition = (ICPPASTFunctionDefinition) decl;
// if (functionDefinition.isDeleted())
// return null;
if (functionDefinition.isDeleted())
return null;
IBinding binding = functionDefinition.getDeclarator().getName().resolveBinding();
if (binding instanceof ICPPConstructor) {
ICPPConstructor constructor = (ICPPConstructor) binding;