mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 08:46:02 +02:00
Cosmetics.
This commit is contained in:
parent
a0ce578175
commit
5637d3dceb
2 changed files with 3 additions and 18 deletions
|
@ -6,10 +6,9 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Doug Schaefer (QNX) - Initial API and implementation
|
* Doug Schaefer (QNX) - Initial API and implementation
|
||||||
* Markus Schorn (Wind River Systems)
|
* Markus Schorn (Wind River Systems)
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.cdt.internal.core.pdom.dom.cpp;
|
package org.eclipse.cdt.internal.core.pdom.dom.cpp;
|
||||||
|
|
||||||
import org.eclipse.cdt.core.CCorePlugin;
|
import org.eclipse.cdt.core.CCorePlugin;
|
||||||
|
@ -28,7 +27,6 @@ import org.eclipse.core.runtime.CoreException;
|
||||||
* Binding for namespace alias
|
* Binding for namespace alias
|
||||||
*/
|
*/
|
||||||
class PDOMCPPNamespaceAlias extends PDOMCPPBinding implements ICPPNamespaceAlias {
|
class PDOMCPPNamespaceAlias extends PDOMCPPBinding implements ICPPNamespaceAlias {
|
||||||
|
|
||||||
private static final int NAMESPACE_BINDING = PDOMCPPBinding.RECORD_SIZE;
|
private static final int NAMESPACE_BINDING = PDOMCPPBinding.RECORD_SIZE;
|
||||||
@SuppressWarnings("hiding")
|
@SuppressWarnings("hiding")
|
||||||
protected static final int RECORD_SIZE = PDOMCPPBinding.RECORD_SIZE + Database.PTR_SIZE;
|
protected static final int RECORD_SIZE = PDOMCPPBinding.RECORD_SIZE + Database.PTR_SIZE;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Markus Schorn - initial API and implementation
|
* Markus Schorn - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.internal.core.pdom.dom.cpp;
|
package org.eclipse.cdt.internal.core.pdom.dom.cpp;
|
||||||
|
|
||||||
|
@ -59,9 +59,6 @@ public class PDOMCPPUsingDirective implements ICPPUsingDirective, IPDOMNode {
|
||||||
db.putInt(fRecord + FILE_OFFSET, fileOffset);
|
db.putInt(fRecord + FILE_OFFSET, fileOffset);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.dom.ast.cpp.ICPPUsingDirective#getNamespace()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ICPPNamespaceScope getNominatedScope() {
|
public ICPPNamespaceScope getNominatedScope() {
|
||||||
try {
|
try {
|
||||||
|
@ -76,10 +73,6 @@ public class PDOMCPPUsingDirective implements ICPPUsingDirective, IPDOMNode {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.dom.ast.cpp.ICPPUsingDirective#getContainingScope()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IScope getContainingScope() {
|
public IScope getContainingScope() {
|
||||||
try {
|
try {
|
||||||
|
@ -96,9 +89,6 @@ public class PDOMCPPUsingDirective implements ICPPUsingDirective, IPDOMNode {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.dom.ast.cpp.ICPPUsingDirective#getPointOfDeclaration()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getPointOfDeclaration() {
|
public int getPointOfDeclaration() {
|
||||||
final Database db= fLinkage.getDB();
|
final Database db= fLinkage.getDB();
|
||||||
|
@ -118,9 +108,6 @@ public class PDOMCPPUsingDirective implements ICPPUsingDirective, IPDOMNode {
|
||||||
return db.getRecPtr(fRecord + PREV_DIRECTIVE_OF_FILE);
|
return db.getRecPtr(fRecord + PREV_DIRECTIVE_OF_FILE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.dom.IPDOMNode#accept(org.eclipse.cdt.core.dom.IPDOMVisitor)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void accept(IPDOMVisitor visitor) throws CoreException {
|
public void accept(IPDOMVisitor visitor) throws CoreException {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue