forked from OSchip/llvm-project
Harden against potential empty nodes in the map
llvm-svn: 181045
This commit is contained in:
parent
d03a273b96
commit
4ffff2791f
|
@ -66,6 +66,8 @@ public:
|
|||
bool
|
||||
error ()
|
||||
{
|
||||
if (!m_entry_sp)
|
||||
return true;
|
||||
return m_entry_sp->GetError().Fail();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue