mirror of
https://github.com/cc65/cc65.git
synced 2025-01-26 02:30:17 +00:00
Removed a helper function that is no longer used.
This commit is contained in:
parent
24d36854d2
commit
328345b9c3
@ -948,20 +948,6 @@ Type* Indirect (Type* T)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
const Type* IndirectConst (const Type* T)
|
|
||||||
/* Do one indirection for the given type, that is, return the type where the
|
|
||||||
** given type points to.
|
|
||||||
*/
|
|
||||||
{
|
|
||||||
/* We are expecting a pointer expression */
|
|
||||||
CHECK (IsClassPtr (T));
|
|
||||||
|
|
||||||
/* Skip the pointer or array token itself */
|
|
||||||
return T + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Type* ArrayToPtr (Type* T)
|
Type* ArrayToPtr (Type* T)
|
||||||
/* Convert an array to a pointer to it's first element */
|
/* Convert an array to a pointer to it's first element */
|
||||||
{
|
{
|
||||||
|
@ -353,11 +353,6 @@ Type* Indirect (Type* T);
|
|||||||
** given type points to.
|
** given type points to.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const Type* IndirectConst (const Type* T);
|
|
||||||
/* Do one indirection for the given type, that is, return the type where the
|
|
||||||
** given type points to.
|
|
||||||
*/
|
|
||||||
|
|
||||||
Type* ArrayToPtr (Type* T);
|
Type* ArrayToPtr (Type* T);
|
||||||
/* Convert an array to a pointer to it's first element */
|
/* Convert an array to a pointer to it's first element */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user