view dmd/OverloadSet.d @ 72:2e2a5c3f943a

reduced warnings by adding override to the methods think this also normalizes different line endings used all over the place
author Trass3r
date Sat, 28 Aug 2010 16:19:48 +0200
parents cab4c37afb89
children 7e0d548de9e6
line wrap: on
line source

module dmd.OverloadSet;

import dmd.Dsymbol;
import dmd.ArrayTypes;

class OverloadSet : Dsymbol
{
    Dsymbols a;		// array of Dsymbols

    this()
	{
		a = new Dsymbols();
	}
	
    void push(Dsymbol s)
	{
		a.push(cast(void*)s);
	}
	
    override OverloadSet isOverloadSet() { return this; }

    override string kind()
	{
		return "overloadset";
	}
}