mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Corrected few comments.
This commit is contained in:
parent
300a9b0807
commit
fcccfe3807
3 changed files with 5 additions and 6 deletions
|
@ -1773,7 +1773,7 @@ public abstract class IndexCPPBindingResolutionTest extends IndexBindingResoluti
|
|||
// int test() {
|
||||
// foo(1);
|
||||
// }
|
||||
public void testInheritingConstructor() throws Exception {
|
||||
public void testInheritedConstructor() throws Exception {
|
||||
checkBindings();
|
||||
}
|
||||
|
||||
|
@ -1791,7 +1791,7 @@ public abstract class IndexCPPBindingResolutionTest extends IndexBindingResoluti
|
|||
// int test() {
|
||||
// foo(1);
|
||||
// }
|
||||
public void testInheritingConstructorWithTemplate_1() throws Exception {
|
||||
public void testInheritedConstructorFromTemplateInstance() throws Exception {
|
||||
checkBindings();
|
||||
}
|
||||
|
||||
|
@ -1809,7 +1809,7 @@ public abstract class IndexCPPBindingResolutionTest extends IndexBindingResoluti
|
|||
// int test() {
|
||||
// foo(1);
|
||||
// }
|
||||
public void testInheritingConstructorWithTemplate_2() throws Exception {
|
||||
public void testInheritedConstructorFromUnknownClass() throws Exception {
|
||||
checkBindings();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -198,7 +198,7 @@ public class CPPClassScope extends CPPScope implements ICPPClassScope {
|
|||
ICPPConstructor[] ctors = ClassTypeHelper.getConstructors((ICPPClassType) baseClass, point);
|
||||
for (ICPPConstructor ctor : ctors) {
|
||||
ICPPParameter[] prototypeParams = ctor.getParameters();
|
||||
// 19.9-1 For each non-template constructor of X that has at least one parameter
|
||||
// 12.9-1 For each non-template constructor of X that has at least one parameter
|
||||
// with a default argument, the set of constructors that results from omitting
|
||||
// any ellipsis parameter specification and successively omitting parameters
|
||||
// with a default argument from the end of the parameter-type-list.
|
||||
|
|
|
@ -21,8 +21,7 @@ import org.eclipse.cdt.core.dom.ast.cpp.ICPPParameter;
|
|||
import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor;
|
||||
|
||||
/**
|
||||
* Binding for implicit constructors (default and copy constructor).
|
||||
* 12.9
|
||||
* Binding for a constructor inherited from a base class (12.9).
|
||||
*/
|
||||
public class CPPInheritedConstructor extends CPPImplicitMethod implements ICPPConstructor {
|
||||
private final ICPPConstructor prototype;
|
||||
|
|
Loading…
Add table
Reference in a new issue