1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-31 21:05:37 +02:00

Bug 399149 - Add missing @since tags

Change-Id: I62a60c55157202ec9ec65a5b8bf090ba72f74d1a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/25020
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Nathan Ridge 2014-04-15 00:48:36 -04:00 committed by Marc-Andre Laperle
parent 84974e6725
commit 84289fb454
4 changed files with 15 additions and 0 deletions

View file

@ -141,6 +141,7 @@ public abstract class ASTVisitor {
/**
* Set this flag to visit virt-specifiers.
* @since 5.7
*/
public boolean shouldVisitVirtSpecifiers = false;
@ -322,6 +323,9 @@ public abstract class ASTVisitor {
return PROCESS_CONTINUE;
}
/**
* @since 5.7
*/
public int visit(ICPPASTVirtSpecifier virtSpecifier) {
return PROCESS_CONTINUE;
}
@ -435,6 +439,9 @@ public abstract class ASTVisitor {
return PROCESS_CONTINUE;
}
/**
* @since 5.7
*/
public int leave(ICPPASTVirtSpecifier virtSpecifier) {
return PROCESS_CONTINUE;
}

View file

@ -34,6 +34,7 @@ public interface ICPPASTFunctionDeclarator extends IASTStandardFunctionDeclarato
/**
* Used as return value for {@link #getVirtSpecifiers()}.
* @since 5.7
*/
public static final ICPPASTVirtSpecifier[] NO_VIRT_SPECIFIERS = {};
@ -52,6 +53,7 @@ public interface ICPPASTFunctionDeclarator extends IASTStandardFunctionDeclarato
/** @since 5.2 */
public static final ASTNodeProperty TRAILING_RETURN_TYPE = new ASTNodeProperty(
"ICPPASTFunctionDeclarator.TRAILING_RETURN_TYPE [IASTTypeId]"); //$NON-NLS-1$
/** @since 5.7 */
public static final ASTNodeProperty VIRT_SPECIFIER = new ASTNodeProperty(
"ICPPASTFunctionDeclarator.VIRT_SPECIFIER [ICPPASTVirtSpecifier]"); //$NON-NLS-1$
@ -215,11 +217,13 @@ public interface ICPPASTFunctionDeclarator extends IASTStandardFunctionDeclarato
/**
* Returns the virt-specifiers of this function.
* @since 5.7
*/
public ICPPASTVirtSpecifier[] getVirtSpecifiers();
/**
* Add a virt-specifiers to this function.
* @since 5.7
*/
public void addVirtSpecifier(ICPPASTVirtSpecifier virtSpecifier);
}

View file

@ -18,6 +18,7 @@ import org.eclipse.cdt.core.dom.ast.IASTNode;
*
* @noimplement This interface is not intended to be implemented by clients.
* @noextend This interface is not intended to be extended by clients.
* @since 5.7
*/
public interface ICPPASTVirtSpecifier extends IASTNode {

View file

@ -381,6 +381,9 @@ public interface ICPPNodeFactory extends INodeFactory {
public ICPPASTUsingDirective newUsingDirective(IASTName name);
/**
* @since 5.7
*/
public ICPPASTVirtSpecifier newVirtSpecifier(SpecifierKind kind);
public ICPPASTVisibilityLabel newVisibilityLabel(int visibility);