mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
cf42513ae6
commit
e43adf39dd
1 changed files with 5 additions and 10 deletions
|
@ -6,8 +6,8 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* John Camelon (IBM) - Initial API and implementation
|
* John Camelon (IBM) - Initial API and implementation
|
||||||
* Markus Schorn (Wind River Systems)
|
* Markus Schorn (Wind River Systems)
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.internal.core.dom.parser.cpp;
|
package org.eclipse.cdt.internal.core.dom.parser.cpp;
|
||||||
|
|
||||||
|
@ -23,9 +23,8 @@ import org.eclipse.cdt.internal.core.dom.parser.IASTAmbiguityParent;
|
||||||
/**
|
/**
|
||||||
* Initializer list in parenthesis.
|
* Initializer list in parenthesis.
|
||||||
*/
|
*/
|
||||||
public class CPPASTConstructorInitializer extends ASTNode implements ICPPASTConstructorInitializer,
|
public class CPPASTConstructorInitializer extends ASTNode
|
||||||
IASTAmbiguityParent {
|
implements ICPPASTConstructorInitializer, IASTAmbiguityParent {
|
||||||
|
|
||||||
private IASTInitializerClause[] fArguments;
|
private IASTInitializerClause[] fArguments;
|
||||||
|
|
||||||
public CPPASTConstructorInitializer() {
|
public CPPASTConstructorInitializer() {
|
||||||
|
@ -51,11 +50,7 @@ public class CPPASTConstructorInitializer extends ASTNode implements ICPPASTCons
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CPPASTConstructorInitializer copy = new CPPASTConstructorInitializer(args);
|
CPPASTConstructorInitializer copy = new CPPASTConstructorInitializer(args);
|
||||||
copy.setOffsetAndLength(this);
|
return copy(copy, style);
|
||||||
if (style == CopyStyle.withLocations) {
|
|
||||||
copy.setCopyLocation(this);
|
|
||||||
}
|
|
||||||
return copy;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue