mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Added the implementation of the 'getType' and 'getTypeName' methods of the 'CVaraible:ErrorVariable' class.
This commit is contained in:
parent
812c1785ab
commit
d391011d82
2 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-08-06 Mikhail Khodjaiants
|
||||
Added the implementation of the 'getType' and 'getTypeName' methods of the 'CVaraible:ErrorVariable' class.
|
||||
* CVariable.java
|
||||
|
||||
2003-08-06 Mikhail Khodjaiants
|
||||
Uncommented the 'sizeof' method of 'ICDIVariableObject'.
|
||||
* ICDIVariableObject.java
|
||||
|
|
|
@ -89,8 +89,7 @@ public abstract class CVariable extends CDebugElement
|
|||
*/
|
||||
public String getTypeName() throws CDIException
|
||||
{
|
||||
// TODO When the 'getType' method is moved to 'ICDIVariableObject'
|
||||
return null;
|
||||
return ( fVariableObject != null ) ? fVariableObject.getTypeName() : "";
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
@ -98,8 +97,7 @@ public abstract class CVariable extends CDebugElement
|
|||
*/
|
||||
public ICDIType getType() throws CDIException
|
||||
{
|
||||
// TODO When the 'getType' method is moved to 'ICDIVariableObject'
|
||||
return null;
|
||||
return ( fVariableObject != null ) ? fVariableObject.getType() : null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
|
Loading…
Add table
Reference in a new issue