mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +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
|
||||
*
|
||||
* Contributors:
|
||||
* Doug Schaefer (QNX) - Initial API and implementation
|
||||
* Markus Schorn (Wind River Systems)
|
||||
* Doug Schaefer (QNX) - Initial API and implementation
|
||||
* Markus Schorn (Wind River Systems)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.internal.core.pdom.dom.cpp;
|
||||
|
||||
import org.eclipse.cdt.core.CCorePlugin;
|
||||
|
@ -28,7 +27,6 @@ import org.eclipse.core.runtime.CoreException;
|
|||
* Binding for namespace alias
|
||||
*/
|
||||
class PDOMCPPNamespaceAlias extends PDOMCPPBinding implements ICPPNamespaceAlias {
|
||||
|
||||
private static final int NAMESPACE_BINDING = PDOMCPPBinding.RECORD_SIZE;
|
||||
@SuppressWarnings("hiding")
|
||||
protected static final int RECORD_SIZE = PDOMCPPBinding.RECORD_SIZE + Database.PTR_SIZE;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
* Markus Schorn - initial API and implementation
|
||||
*******************************************************************************/
|
||||
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);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.dom.ast.cpp.ICPPUsingDirective#getNamespace()
|
||||
*/
|
||||
@Override
|
||||
public ICPPNamespaceScope getNominatedScope() {
|
||||
try {
|
||||
|
@ -76,10 +73,6 @@ public class PDOMCPPUsingDirective implements ICPPUsingDirective, IPDOMNode {
|
|||
return null;
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.dom.ast.cpp.ICPPUsingDirective#getContainingScope()
|
||||
*/
|
||||
@Override
|
||||
public IScope getContainingScope() {
|
||||
try {
|
||||
|
@ -96,9 +89,6 @@ public class PDOMCPPUsingDirective implements ICPPUsingDirective, IPDOMNode {
|
|||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.dom.ast.cpp.ICPPUsingDirective#getPointOfDeclaration()
|
||||
*/
|
||||
@Override
|
||||
public int getPointOfDeclaration() {
|
||||
final Database db= fLinkage.getDB();
|
||||
|
@ -118,9 +108,6 @@ public class PDOMCPPUsingDirective implements ICPPUsingDirective, IPDOMNode {
|
|||
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
|
||||
public void accept(IPDOMVisitor visitor) throws CoreException {
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue