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:
parent
4e99b5aea4
commit
962736a429
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue