mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[192019] Got rid of getExpressionLength() which is no longer used.
This commit is contained in:
parent
7d83b3a7dd
commit
0d12dc0338
1 changed files with 0 additions and 12 deletions
|
@ -581,18 +581,6 @@ public class RegisterBitFieldVMNode extends AbstractExpressionVMNode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public int getExpressionLength(String expression) {
|
|
||||||
if (expression.charAt(0) == '.' && Character.isLetterOrDigit(expression.charAt(1))) {
|
|
||||||
int length = 1;
|
|
||||||
while( length < expression.length() && Character.isLetterOrDigit(expression.charAt(length)) ) {
|
|
||||||
length++;
|
|
||||||
}
|
|
||||||
return length;
|
|
||||||
} else {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void associateExpression(Object element, IExpression expression) {
|
protected void associateExpression(Object element, IExpression expression) {
|
||||||
if (element instanceof BitFieldVMC) {
|
if (element instanceof BitFieldVMC) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue