view dmd/backend/TF.d @ 165:25ede4f66bda

Temporarily disabled GC (again) because phobos fails to compile with it (looks like some ObjSymbols are being falsely collected, see Library.d:666) Getting rid of global state (i.e global and static variables) to allow running concurrent compilation
author korDen
date Thu, 30 Sep 2010 10:04:32 +0400
parents 10317f0c89a5
children
line wrap: on
line source

module dmd.backend.TF;

enum TF
{
	TFprototype	 = 1,	/* if this function is prototyped	*/
	TFfixed	= 2,	/* if prototype has a fixed # of parameters */
	TFforward = 8,	// TYstruct: if forward reference of tag name
	TFsizeunknown = 0x10,	// TYstruct,TYarray: if size of type is unknown
					// TYmptr: the Stag is TYident type
	TFfuncret = 0x20,	// C++,tyfunc(): overload based on function return value
	TFfuncparam	= 0x20,	// TYarray: top level function parameter
	TFstatic = 0x40,	// TYarray: static dimension
	TFvla = 0x80,	// TYarray: variable length array
	TFemptyexc = 0x100,	// tyfunc(): empty exception specification

	// C
	TFgenerated = 4,	// if we generated the prototype ourselves

	// CPP
	TFdependent = 4,	// template dependent type

///version (TX86) {
///} else {
///	TFhydrated = 0x20,	// type data already hydrated
///	TFbasicrev = 0x80,	// if basic reserved type
///}
}

import dmd.EnumUtils;
mixin(BringToCurrentScope!(TF));