mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Code formatting.
This commit is contained in:
parent
d9a42eb002
commit
4f541baeb7
2 changed files with 5 additions and 6 deletions
|
@ -42,7 +42,6 @@ import org.eclipse.core.runtime.CoreException;
|
|||
* @author Bryan Wilkinson
|
||||
*/
|
||||
public class PDOMCPPClassTemplate extends PDOMCPPClassType implements ICPPClassTemplate, ICPPInstanceCache {
|
||||
|
||||
private static final int PARAMETERS = PDOMCPPClassType.RECORD_SIZE + 0;
|
||||
private static final int FIRST_PARTIAL = PDOMCPPClassType.RECORD_SIZE + 4;
|
||||
|
||||
|
@ -131,14 +130,14 @@ public class PDOMCPPClassTemplate extends PDOMCPPClassType implements ICPPClassT
|
|||
return new ICPPClassTemplatePartialSpecialization[0];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void accept(IPDOMVisitor visitor) throws CoreException {
|
||||
super.accept(visitor);
|
||||
PDOMNodeLinkedList list = new PDOMNodeLinkedList(pdom, record + PARAMETERS, getLinkageImpl());
|
||||
list.accept(visitor);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void addChild(PDOMNode member) throws CoreException {
|
||||
if (member instanceof ICPPTemplateParameter) {
|
||||
|
@ -148,7 +147,7 @@ public class PDOMCPPClassTemplate extends PDOMCPPClassType implements ICPPClassT
|
|||
super.addChild(member);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean isSameType(IType type) {
|
||||
if (type instanceof ITypedef) {
|
||||
|
|
|
@ -47,8 +47,8 @@ class PDOMCPPFunctionTemplate extends PDOMCPPFunction
|
|||
@SuppressWarnings("hiding")
|
||||
protected static final int RECORD_SIZE = PDOMCPPFunction.RECORD_SIZE + 4;
|
||||
|
||||
public PDOMCPPFunctionTemplate(PDOM pdom, PDOMNode parent,
|
||||
ICPPFunctionTemplate template) throws CoreException {
|
||||
public PDOMCPPFunctionTemplate(PDOM pdom, PDOMNode parent, ICPPFunctionTemplate template)
|
||||
throws CoreException {
|
||||
super(pdom, parent, (ICPPFunction) template, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue