1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Added the implementation of the 'getType' and 'getTypeName' methods of the 'CVaraible:ErrorVariable' class.

This commit is contained in:
Mikhail Khodjaiants 2003-08-06 20:51:19 +00:00
parent 812c1785ab
commit d391011d82
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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)