mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
The conversion to bool is fine here, no need to check isType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187964 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc1363f5af
commit
37c107b9b5
@ -940,7 +940,7 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
|
||||
}
|
||||
}
|
||||
DIType DTy = CTy.getTypeDerivedFrom();
|
||||
if (DTy.isType()) {
|
||||
if (DTy) {
|
||||
addType(&Buffer, DTy);
|
||||
addUInt(&Buffer, dwarf::DW_AT_enum_class, dwarf::DW_FORM_flag, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user