mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Cosmetics.
This commit is contained in:
parent
3a81f65932
commit
5e4ab381c6
2 changed files with 7 additions and 9 deletions
|
@ -26,7 +26,6 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor;
|
|||
import org.eclipse.core.runtime.PlatformObject;
|
||||
|
||||
public class CPPNamespaceAlias extends PlatformObject implements ICPPNamespaceAlias, ICPPInternalBinding {
|
||||
|
||||
private ICPPNamespace namespace;
|
||||
private IASTName alias;
|
||||
|
||||
|
|
|
@ -52,8 +52,7 @@ class PDOMCPPNamespaceAlias extends PDOMCPPBinding implements ICPPNamespaceAlias
|
|||
|
||||
private void setTargetBinding(PDOMLinkage linkage, IBinding target) throws CoreException {
|
||||
PDOMBinding namespace = getLinkage().adaptBinding(target);
|
||||
getDB().putRecPtr(record + NAMESPACE_BINDING,
|
||||
namespace != null ? namespace.getRecord() : 0);
|
||||
getDB().putRecPtr(record + NAMESPACE_BINDING, namespace != null ? namespace.getRecord() : 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue