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

Bug 299911. A minor bug fix.

This commit is contained in:
Sergey Prigogin 2012-08-07 12:24:52 -07:00
parent e1ef59e384
commit 0fb8874351

View file

@ -8,6 +8,7 @@
* Contributors: * Contributors:
* Andrew Ferguson (Symbian) - Initial implementation * Andrew Ferguson (Symbian) - Initial implementation
* Markus Schorn (Wind River Systems) * Markus Schorn (Wind River Systems)
* Sergey Prigogin (Google)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.internal.core.index.composite.cpp; package org.eclipse.cdt.internal.core.index.composite.cpp;
@ -67,14 +68,14 @@ public class CompositeCPPClassSpecializationScope extends CompositeScope impleme
} }
@Override @Override
public ICPPMethod[] getImplicitMethods(IASTNode point) { public ICPPMethod[] getImplicitMethods() {
return getImplicitMethods(null); return getImplicitMethods(null); // Instantiation of dependent expression may not work.
} }
@Override @Override
public ICPPMethod[] getImplicitMethods() { public ICPPMethod[] getImplicitMethods(IASTNode point) {
createDelegate(); createDelegate();
return fDelegate.getImplicitMethods(); return fDelegate.getImplicitMethods(point);
} }
@Override @Override
@ -103,7 +104,7 @@ public class CompositeCPPClassSpecializationScope extends CompositeScope impleme
@Override @Override
public ICPPConstructor[] getConstructors() { public ICPPConstructor[] getConstructors() {
return getConstructors(null); return getConstructors(null); // Instantiation of dependent expression may not work.
} }
@Override @Override