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