mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 04:15:35 +02:00
Cosmetics.
This commit is contained in:
parent
843cd2bf00
commit
4918f94f20
2 changed files with 3 additions and 6 deletions
|
@ -12,13 +12,12 @@
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.internal.core.model;
|
package org.eclipse.cdt.internal.core.model;
|
||||||
|
|
||||||
|
|
||||||
import org.eclipse.cdt.core.model.ICElement;
|
import org.eclipse.cdt.core.model.ICElement;
|
||||||
import org.eclipse.cdt.core.model.INamespace;
|
import org.eclipse.cdt.core.model.INamespace;
|
||||||
|
|
||||||
public class Namespace extends SourceManipulation implements INamespace{
|
public class Namespace extends SourceManipulation implements INamespace {
|
||||||
|
|
||||||
String typeName = ""; //$NON-NLS-1$
|
String typeName = ""; //$NON-NLS-1$
|
||||||
|
|
||||||
public Namespace(ICElement parent, String name) {
|
public Namespace(ICElement parent, String name) {
|
||||||
super(parent, name, ICElement.C_NAMESPACE);
|
super(parent, name, ICElement.C_NAMESPACE);
|
||||||
}
|
}
|
||||||
|
@ -40,9 +39,6 @@ public class Namespace extends SourceManipulation implements INamespace{
|
||||||
this.typeName = typeName;
|
this.typeName = typeName;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* @see org.eclipse.cdt.internal.core.model.CElement#equals(java.lang.Object)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object other) {
|
public boolean equals(Object other) {
|
||||||
if (other instanceof INamespace && equals(this, (INamespace) other)) {
|
if (other instanceof INamespace && equals(this, (INamespace) other)) {
|
||||||
|
|
|
@ -363,6 +363,7 @@ public interface IASTTranslationUnit extends IASTDeclarationListOwner, IFileNomi
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 5.4
|
* @since 5.4
|
||||||
|
*
|
||||||
* @noreference This method is not intended to be referenced by clients.
|
* @noreference This method is not intended to be referenced by clients.
|
||||||
*/
|
*/
|
||||||
public void setPragmaOnceSemantics(boolean value);
|
public void setPragmaOnceSemantics(boolean value);
|
||||||
|
|
Loading…
Add table
Reference in a new issue