From 3199dc91bfc78b42c1fdead6c938d3ddd44e6b75 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Mon, 14 Mar 2016 18:12:45 -0700 Subject: [PATCH] Removed IASTBinaryExpression.op_last. Change-Id: Ib0fbe7eb791c2e740441a644d4042662f947926c --- .../eclipse/cdt/core/dom/ast/IASTBinaryExpression.java | 7 ------- .../cdt/core/dom/ast/cpp/ICPPASTBinaryExpression.java | 8 -------- .../core/dom/ast/gnu/cpp/IGPPASTBinaryExpression.java | 9 --------- 3 files changed, 24 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTBinaryExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTBinaryExpression.java index f2a98dd1e25..c6926f6b313 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTBinaryExpression.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTBinaryExpression.java @@ -223,13 +223,6 @@ public interface IASTBinaryExpression extends IASTExpression { */ public static final int op_ellipses= 34; - /** - * @deprecated All constants must be defined here, to avoid using the same value twice. - * @noreference This field is not intended to be referenced by clients. - */ - @Deprecated - public static final int op_last = op_ellipses; - /** * Get the first operand. * diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTBinaryExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTBinaryExpression.java index ab79efc9eb7..6fc2e85716d 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTBinaryExpression.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTBinaryExpression.java @@ -32,14 +32,6 @@ public interface ICPPASTBinaryExpression extends IASTBinaryExpression, ICPPASTEx */ public static final int op_pmarrow = IASTBinaryExpression.op_pmarrow; - /** - * @deprecated all constants must be defined in {@link IASTBinaryExpression}, to avoid - * duplicate usage of the same constant. - * @noreference This field is not intended to be referenced by clients. - */ - @Deprecated - public static final int op_last = IASTBinaryExpression.op_last; - /** * @since 5.1 */ diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/cpp/IGPPASTBinaryExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/cpp/IGPPASTBinaryExpression.java index 1d090ab3b93..ad60b801ec5 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/cpp/IGPPASTBinaryExpression.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/cpp/IGPPASTBinaryExpression.java @@ -30,18 +30,9 @@ public interface IGPPASTBinaryExpression extends ICPPASTBinaryExpression { */ public static final int op_min = IASTBinaryExpression.op_min; - /** - * @deprecated All constants must be defined in {@link IASTBinaryExpression} to avoid - * using a constant twice. - * @noreference This field is not intended to be referenced by clients. - */ - @Deprecated - public static final int op_last = IASTBinaryExpression.op_last; - /** * @since 5.1 */ @Override public IGPPASTBinaryExpression copy(); - }