1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 23:05:47 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2013-05-16 12:36:58 -07:00
parent c4da5d94a2
commit 0243165590
2 changed files with 14 additions and 12 deletions

View file

@ -24,14 +24,15 @@ import org.eclipse.cdt.internal.core.pdom.dom.PDOMNode;
import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.CoreException;
/** /**
* @author Bryan Wilkinson * The specialization of a friend function template in the context of a class specialization.
* *
* @author Bryan Wilkinson
*/ */
class PDOMCPPFunctionTemplateSpecialization extends PDOMCPPFunctionSpecialization class PDOMCPPFunctionTemplateSpecialization extends PDOMCPPFunctionSpecialization
implements ICPPFunctionTemplate, ICPPInstanceCache, IPDOMMemberOwner { implements ICPPFunctionTemplate, ICPPInstanceCache, IPDOMMemberOwner {
public PDOMCPPFunctionTemplateSpecialization(PDOMLinkage linkage, PDOMNode parent, ICPPFunctionTemplate template, PDOMBinding specialized) public PDOMCPPFunctionTemplateSpecialization(PDOMLinkage linkage, PDOMNode parent,
throws CoreException { ICPPFunctionTemplate template, PDOMBinding specialized) throws CoreException {
super(linkage, parent, template, specialized); super(linkage, parent, template, specialized);
} }

View file

@ -617,8 +617,9 @@ class PDOMCPPLinkage extends PDOMLinkage implements IIndexCPPBindingConstants {
pdomBinding.update(this, method); pdomBinding.update(this, method);
old.remove(pdomBinding); old.remove(pdomBinding);
// Update the tags based on the tags from the new binding. This was in PDOMBinding.update, but // Update the tags based on the tags from the new binding. This was in
// I found that not all subclasses (e.g., PDOMCPPFunction) call the parent implementation. // PDOMBinding.update, but not all subclasses (e.g., PDOMCPPFunction)
// call the parent implementation.
TagManager.getInstance().syncTags(pdomBinding, method); TagManager.getInstance().syncTags(pdomBinding, method);
} }
} }