mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 12:55:40 +02:00
Cosmetics.
This commit is contained in:
parent
45c388b77e
commit
3a7a88486b
2 changed files with 2 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* John Camelon (IBM) - Initial API and implementation
|
* John Camelon (IBM) - Initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.core.dom.ast.cpp;
|
package org.eclipse.cdt.core.dom.ast.cpp;
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@ import org.eclipse.cdt.core.dom.ast.IASTLiteralExpression;
|
||||||
* @noimplement This interface is not intended to be implemented by clients.
|
* @noimplement This interface is not intended to be implemented by clients.
|
||||||
*/
|
*/
|
||||||
public interface ICPPASTLiteralExpression extends IASTLiteralExpression, ICPPASTExpression {
|
public interface ICPPASTLiteralExpression extends IASTLiteralExpression, ICPPASTExpression {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>lk_this</code> represents the 'this' keyword.
|
* <code>lk_this</code> represents the 'this' keyword.
|
||||||
*/
|
*/
|
||||||
|
@ -41,7 +40,6 @@ public interface ICPPASTLiteralExpression extends IASTLiteralExpression, ICPPAST
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static final int lk_last = lk_false;
|
public static final int lk_last = lk_false;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -96,7 +96,7 @@ abstract class SimilarFinderVisitor extends ASTVisitor {
|
||||||
protected abstract void foundSimilar();
|
protected abstract void foundSimilar();
|
||||||
|
|
||||||
private boolean isInSelection(IASTStatement stmt) {
|
private boolean isInSelection(IASTStatement stmt) {
|
||||||
List<IASTNode>nodes = extractedNodes.getNodesToWrite();
|
List<IASTNode> nodes = extractedNodes.getNodesToWrite();
|
||||||
for (IASTNode node : nodes) {
|
for (IASTNode node : nodes) {
|
||||||
if (node.equals(stmt)) {
|
if (node.equals(stmt)) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue