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:
parent
84974e6725
commit
84289fb454
4 changed files with 15 additions and 0 deletions
|
@ -141,6 +141,7 @@ public abstract class ASTVisitor {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set this flag to visit virt-specifiers.
|
* Set this flag to visit virt-specifiers.
|
||||||
|
* @since 5.7
|
||||||
*/
|
*/
|
||||||
public boolean shouldVisitVirtSpecifiers = false;
|
public boolean shouldVisitVirtSpecifiers = false;
|
||||||
|
|
||||||
|
@ -322,6 +323,9 @@ public abstract class ASTVisitor {
|
||||||
return PROCESS_CONTINUE;
|
return PROCESS_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 5.7
|
||||||
|
*/
|
||||||
public int visit(ICPPASTVirtSpecifier virtSpecifier) {
|
public int visit(ICPPASTVirtSpecifier virtSpecifier) {
|
||||||
return PROCESS_CONTINUE;
|
return PROCESS_CONTINUE;
|
||||||
}
|
}
|
||||||
|
@ -435,6 +439,9 @@ public abstract class ASTVisitor {
|
||||||
return PROCESS_CONTINUE;
|
return PROCESS_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 5.7
|
||||||
|
*/
|
||||||
public int leave(ICPPASTVirtSpecifier virtSpecifier) {
|
public int leave(ICPPASTVirtSpecifier virtSpecifier) {
|
||||||
return PROCESS_CONTINUE;
|
return PROCESS_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,6 +34,7 @@ public interface ICPPASTFunctionDeclarator extends IASTStandardFunctionDeclarato
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used as return value for {@link #getVirtSpecifiers()}.
|
* Used as return value for {@link #getVirtSpecifiers()}.
|
||||||
|
* @since 5.7
|
||||||
*/
|
*/
|
||||||
public static final ICPPASTVirtSpecifier[] NO_VIRT_SPECIFIERS = {};
|
public static final ICPPASTVirtSpecifier[] NO_VIRT_SPECIFIERS = {};
|
||||||
|
|
||||||
|
@ -52,6 +53,7 @@ public interface ICPPASTFunctionDeclarator extends IASTStandardFunctionDeclarato
|
||||||
/** @since 5.2 */
|
/** @since 5.2 */
|
||||||
public static final ASTNodeProperty TRAILING_RETURN_TYPE = new ASTNodeProperty(
|
public static final ASTNodeProperty TRAILING_RETURN_TYPE = new ASTNodeProperty(
|
||||||
"ICPPASTFunctionDeclarator.TRAILING_RETURN_TYPE [IASTTypeId]"); //$NON-NLS-1$
|
"ICPPASTFunctionDeclarator.TRAILING_RETURN_TYPE [IASTTypeId]"); //$NON-NLS-1$
|
||||||
|
/** @since 5.7 */
|
||||||
public static final ASTNodeProperty VIRT_SPECIFIER = new ASTNodeProperty(
|
public static final ASTNodeProperty VIRT_SPECIFIER = new ASTNodeProperty(
|
||||||
"ICPPASTFunctionDeclarator.VIRT_SPECIFIER [ICPPASTVirtSpecifier]"); //$NON-NLS-1$
|
"ICPPASTFunctionDeclarator.VIRT_SPECIFIER [ICPPASTVirtSpecifier]"); //$NON-NLS-1$
|
||||||
|
|
||||||
|
@ -215,11 +217,13 @@ public interface ICPPASTFunctionDeclarator extends IASTStandardFunctionDeclarato
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the virt-specifiers of this function.
|
* Returns the virt-specifiers of this function.
|
||||||
|
* @since 5.7
|
||||||
*/
|
*/
|
||||||
public ICPPASTVirtSpecifier[] getVirtSpecifiers();
|
public ICPPASTVirtSpecifier[] getVirtSpecifiers();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a virt-specifiers to this function.
|
* Add a virt-specifiers to this function.
|
||||||
|
* @since 5.7
|
||||||
*/
|
*/
|
||||||
public void addVirtSpecifier(ICPPASTVirtSpecifier virtSpecifier);
|
public void addVirtSpecifier(ICPPASTVirtSpecifier virtSpecifier);
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@ import org.eclipse.cdt.core.dom.ast.IASTNode;
|
||||||
*
|
*
|
||||||
* @noimplement This interface is not intended to be implemented by clients.
|
* @noimplement This interface is not intended to be implemented by clients.
|
||||||
* @noextend This interface is not intended to be extended by clients.
|
* @noextend This interface is not intended to be extended by clients.
|
||||||
|
* @since 5.7
|
||||||
*/
|
*/
|
||||||
public interface ICPPASTVirtSpecifier extends IASTNode {
|
public interface ICPPASTVirtSpecifier extends IASTNode {
|
||||||
|
|
||||||
|
|
|
@ -381,6 +381,9 @@ public interface ICPPNodeFactory extends INodeFactory {
|
||||||
|
|
||||||
public ICPPASTUsingDirective newUsingDirective(IASTName name);
|
public ICPPASTUsingDirective newUsingDirective(IASTName name);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 5.7
|
||||||
|
*/
|
||||||
public ICPPASTVirtSpecifier newVirtSpecifier(SpecifierKind kind);
|
public ICPPASTVirtSpecifier newVirtSpecifier(SpecifierKind kind);
|
||||||
|
|
||||||
public ICPPASTVisibilityLabel newVisibilityLabel(int visibility);
|
public ICPPASTVisibilityLabel newVisibilityLabel(int visibility);
|
||||||
|
|
Loading…
Add table
Reference in a new issue