mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 20:54:40 +08:00
Made all other "operator bool"s explicit and ensured
that all clients use them explicitly. This will hopefully prevent any future confusion where things get cast to types we don't expect. <rdar://problem/15146458> llvm-svn: 191984
This commit is contained in:
@@ -44,7 +44,7 @@ SBModuleSpec::~SBModuleSpec ()
|
||||
bool
|
||||
SBModuleSpec::IsValid () const
|
||||
{
|
||||
return *m_opaque_ap;
|
||||
return m_opaque_ap->operator bool();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user