mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 08:30:47 +03:00
Refactoring-only part of DtoConstExpInit fix.
This commit is contained in:
parent
d9ce9ce67b
commit
ae48a19251
2 changed files with 17 additions and 22 deletions
|
@ -115,7 +115,7 @@ LLValue* DtoRawVarDeclaration(VarDeclaration* var, LLValue* addr = 0);
|
|||
|
||||
// initializer helpers
|
||||
LLConstant* DtoConstInitializer(Loc loc, Type* type, Initializer* init);
|
||||
LLConstant* DtoConstExpInit(Loc loc, Type* t, Expression* exp);
|
||||
LLConstant* DtoConstExpInit(Loc loc, Type* targetType, Expression* exp);
|
||||
|
||||
// getting typeinfo of type, base=true casts to object.TypeInfo
|
||||
LLConstant* DtoTypeInfoOf(Type* ty, bool base=true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue