mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
Code formatting.
This commit is contained in:
parent
b81800cca4
commit
540907f410
1 changed files with 20 additions and 20 deletions
|
@ -23,7 +23,6 @@ import org.eclipse.cdt.internal.core.index.IIndexType;
|
|||
* Integral c++ type.
|
||||
*/
|
||||
public class CPPBasicType implements ICPPBasicType {
|
||||
|
||||
protected int qualifierBits = 0;
|
||||
protected int type;
|
||||
protected IASTExpression expression = null;
|
||||
|
@ -32,8 +31,8 @@ public class CPPBasicType implements ICPPBasicType {
|
|||
type = t;
|
||||
qualifierBits = bits;
|
||||
|
||||
if (type == IBasicType.t_unspecified) {
|
||||
if ((qualifierBits & (IS_LONG | IS_SHORT | IS_SIGNED | IS_UNSIGNED)) != 0)
|
||||
if (type == IBasicType.t_unspecified &&
|
||||
(qualifierBits & (IS_LONG | IS_SHORT | IS_SIGNED | IS_UNSIGNED)) != 0) {
|
||||
type = IBasicType.t_int;
|
||||
}
|
||||
}
|
||||
|
@ -67,6 +66,7 @@ public class CPPBasicType implements ICPPBasicType {
|
|||
}
|
||||
return (type == t.type && qualifierBits == t.qualifierBits);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.dom.ast.IBasicType#getType()
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue