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:
Sean Callanan
2013-10-04 21:35:29 +00:00
parent 210791a021
commit 9076c0fffb
16 changed files with 25 additions and 25 deletions

View File

@@ -44,7 +44,7 @@ SBModuleSpec::~SBModuleSpec ()
bool
SBModuleSpec::IsValid () const
{
return *m_opaque_ap;
return m_opaque_ap->operator bool();
}
void