mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Merge DMD 1.051
This commit is contained in:
@@ -732,11 +732,7 @@ LLConstant* DtoDefineClassInfo(ClassDeclaration* cd)
|
||||
|
||||
// class name
|
||||
// code from dmd
|
||||
#if DMDV2
|
||||
const char *name = cd->ident->toChars();
|
||||
#else
|
||||
char *name = cd->ident->toChars();
|
||||
#endif
|
||||
size_t namelen = strlen(name);
|
||||
if (!(namelen > 9 && memcmp(name, "TypeInfo_", 9) == 0))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user