view gen/aa.h @ 1427:087dafe5262a

Make sure complex -> integral casts are not used when casting to bool. Error instead of assert on unimplemented cast.
author Christian Kamm <kamm incasoftware de>
date Thu, 28 May 2009 21:45:14 +0200
parents eef8ac26c66c
children 09734fb929c0
line wrap: on
line source

#ifndef LDC_GEN_AA_H
#define LDC_GEN_AA_H

DValue* DtoAAIndex(Loc& loc, Type* type, DValue* aa, DValue* key, bool lvalue);
DValue* DtoAAIn(Loc& loc, Type* type, DValue* aa, DValue* key);
void DtoAARemove(Loc& loc, DValue* aa, DValue* key);

#endif // LDC_GEN_AA_H