Use enum literal instead of constant

This commit is contained in:
Kai Nacke
2013-11-26 07:56:50 +01:00
parent a81a98cb30
commit 7f017608a8
5 changed files with 5 additions and 5 deletions

View File

@@ -290,7 +290,7 @@ llvm::DIType ldc::DIBuilder::CreateCompositeType(Type *type)
// if we don't know the aggregate's size, we don't know enough about it
// to provide debug info. probably a forward-declared struct?
if (sd->sizeok == 0)
if (sd->sizeok == SIZEOKnone)
#if LDC_LLVM_VER >= 304
return DBuilder.createUnspecifiedType(sd->toChars());
#else