Remove > 1 check against a boolean.
I saw a complain about this code on the LLVM channel. It looks wrong to me as has_tag is a boolean. I am committing it as obvious. llvm-svn: 206270
This commit is contained in:
parent
783bac6bba
commit
224746a400
|
|
@ -5070,7 +5070,7 @@ SymbolFileDWARF::FindDefinitionTypeForDIE (DWARFCompileUnit* cu,
|
|||
GetObjectFile()->GetModule()->LogMessage (log,"FindByNameAndTagAndQualifiedNameHash()");
|
||||
m_apple_types_ap->FindByNameAndTagAndQualifiedNameHash (type_name.GetCString(), die->Tag(), qualified_name_hash, die_offsets);
|
||||
}
|
||||
else if (has_tag > 1)
|
||||
else if (has_tag)
|
||||
{
|
||||
if (log)
|
||||
GetObjectFile()->GetModule()->LogMessage (log,"FindByNameAndTag()");
|
||||
|
|
|
|||
Loading…
Reference in New Issue