Mercurial > projects > ldc
comparison gen/aa.h @ 399:0e6b4d65d3f8
Give error messages for invalid casts.
This required passing Loc information to certain functions.
Fixes nocompile/b/bug_cgcs_354_A/B.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 26 Jul 2008 17:19:16 +0200 |
parents | facc562f5674 |
children | 121624c14053 |
comparison
equal
deleted
inserted
replaced
398:811f82dfddbd | 399:0e6b4d65d3f8 |
---|---|
1 #ifndef LLVMDC_GEN_AA_H | 1 #ifndef LLVMDC_GEN_AA_H |
2 #define LLVMDC_GEN_AA_H | 2 #define LLVMDC_GEN_AA_H |
3 | 3 |
4 DValue* DtoAAIndex(Type* type, DValue* aa, DValue* key); | 4 DValue* DtoAAIndex(Loc& loc, Type* type, DValue* aa, DValue* key); |
5 DValue* DtoAAIn(Type* type, DValue* aa, DValue* key); | 5 DValue* DtoAAIn(Loc& loc, Type* type, DValue* aa, DValue* key); |
6 void DtoAARemove(DValue* aa, DValue* key); | 6 void DtoAARemove(Loc& loc, DValue* aa, DValue* key); |
7 | 7 |
8 #endif // LLVMDC_GEN_AA_H | 8 #endif // LLVMDC_GEN_AA_H |